Showing posts with label events. Show all posts
Showing posts with label events. Show all posts

Wednesday, March 28, 2012

Accessing controls within an Accordion for UpdatePanel triggers

HI All,

I have an accordion control, which contains a treeview control in one of its panels. I would like to use some of the events for that treeview control as a trigger for an update panel on the same page. Works fine without the Accordion, but when I use the Accordion, I receive an error notifying me that the treeview doesnt exist (I assume because the Accordion control hides it from the source engine).

Any thoughts on how to get around this?

Thanks

Rob

Hey,

I find that I run into this alot. Basically when you have a template control, then the child controls aren't directly accessible from the code behind. Instead you need to get the parent control and call parent.FindControl("name"). Then use this instance to make changes. If this doesn't work or make sense, post an example.

Saturday, March 24, 2012

about timercontrol

could anybody help 2 my question.i.e., How many events are there in timer control?

here

http://ajax.asp.net/docs/mref/T_System_Web_UI_Timer.aspx

theose with lighting picture are events

About Events of Accordion Control

I want to know about events of Accordion Control.

So i want to get sample about it

Idea

Take a look at the following site:http://ajax.asp.net/ajaxtoolkit/Accordion/Accordion.aspx

Thanks for your immediate reply! I have already got the samples but I failed to find the description on control's events. The sample only mentioned about properties.


I think this is what you are looking for ..

http://blogs.msdn.com/phaniraj/pages/documentation-of-client-side-methods-exposed-by-ms-ajax-controls.aspx

Please correct me if I am wrong

A simple problem with the Tab Control.

I did my homework and researched the control failing to fire child events...

http://forums.asp.net/p/1176424/1982365.aspx#1982365

I have a TabPanel with 3 DDL's on it..(1) CardType, (2) expiration Month and (3)Year

none of the SelectedIndexChanged events fire, regardless of the property settings.

I checked the SampleWebsite and was alarmed that the sample shows most of the

common control typesEXCEPT a dropdown list..?? Comments? Solution? Tongue Tied

Thanks in advance..Cool

As of version10920 the only practical way to do it is to put them on the

page separatley and make themvisible / notvisible as you need them

in theActiveTabChanged event. The events of those DDL's will then fire.Big Smile

I thank myself for my input..Cool