| Author: Ramakrishna 12 Aug 2008 | Member Level: Bronze Points : 1 |
Hi,
assign the triggers for update panel.
Code:
//Code
//btnClick is name of the Button
|
| Author: Koshish 12 Aug 2008 | Member Level: Silver Points : 2 |
Ya
We can assign Triggers to Update panel as
If u don't want to add triggers and want update updatepanel explicitly then simply use
up1.update(); in server side code. Here, up1 is ID of update panel.
|
| Author: Deepak S 14 Aug 2008 | Member Level: Gold Points : 2 |
Hai, W can assign Triggers to update panel as:
|
| Author: Milan Vachhani 04 Sep 2008 | Member Level: Bronze Points : 1 |
You have not selected website as a Ajax Enabled web site. So this type of problem arrive. So one solution for this problem is that if you want to use ajax control than create website as ajax enabled web site at the time of creating a website
|
| Author: Koshish 05 Sep 2008 | Member Level: Silver Points : 1 |
Ya you are right, website is not seletced as ajax enabled. There is also case when u want to apply ajax to already created web site then you can't modify type of website.
|
| Author: Prafulla S Shimpi 15 Sep 2008 | Member Level: Gold Points : 2 |
This one is nice.
But if you are using AJAX, make sure you are using most of the controls form AJAX.
If you are using just 1-2 controls from AJAX, then it is worth to use custom controls or traditional one with added functionality. It is because, when you use even a single AJAX control, it internally generates long javascript embedded in web page, which makes page size heavier.
Generally web page should have minimum size and minimum database call to work efficiently i.e. with faster speed and better results.
|
| Author: Koshish 15 Sep 2008 | Member Level: Silver Points : 0 |
Thanks for your kind suggestion
|