update panel problem
-
I am developing a web application in which i have used a dropdown list on which update panel is applied ,and on list select event I'll set some cs file variable values that are not visible on my javascript function all though the values of cs variable getchanged is there any way to solve these problem ? thanks
-
I am developing a web application in which i have used a dropdown list on which update panel is applied ,and on list select event I'll set some cs file variable values that are not visible on my javascript function all though the values of cs variable getchanged is there any way to solve these problem ? thanks
either you have no clue of what you doing or you did not explain your problem.
Abhishek Rana wrote:
I am developing a web application in which i have used a dropdown list on which update panel is applied
So far so good
Abhishek Rana wrote:
and on list select event I'll set some cs file variable values that are not visible on my javascript function
If all you want to do is handle the select changed event in javascript, why do you need updatepanel? Update panel is used/needed only if you have to process the event on the server, so you don't refresh the whole page.
Abhishek Rana wrote:
on list select event I'll set some cs file variable values that are not visible on my javascript function all though the values of cs variable getchanged
No there is no way you can access the variables from javascript.
Abhishek Rana wrote:
is there any way to solve these problem ?
Yes, Since you have update panel, forget about javascript and handle what ever you want on the server. Things will work for you magically.
Yusuf Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
-
either you have no clue of what you doing or you did not explain your problem.
Abhishek Rana wrote:
I am developing a web application in which i have used a dropdown list on which update panel is applied
So far so good
Abhishek Rana wrote:
and on list select event I'll set some cs file variable values that are not visible on my javascript function
If all you want to do is handle the select changed event in javascript, why do you need updatepanel? Update panel is used/needed only if you have to process the event on the server, so you don't refresh the whole page.
Abhishek Rana wrote:
on list select event I'll set some cs file variable values that are not visible on my javascript function all though the values of cs variable getchanged
No there is no way you can access the variables from javascript.
Abhishek Rana wrote:
is there any way to solve these problem ?
Yes, Since you have update panel, forget about javascript and handle what ever you want on the server. Things will work for you magically.
Yusuf Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
Yusuf wrote:
Abhishek Rana wrote: is there any way to solve these problem ? Yes, Since you have update panel, forget about javascript and handle what ever you want on the server. Things will work for you magically.
Funny. But I agree with Yusuf. Unless you are writing a website that will be very high volume, it is always easist and cleanest to just write your code in C# and use the ajax panel. It is one thing if you are proficient with asp.net, html, javascirpt and it easy for you. But if you are not an expert, don't even bother trying to use a bunch of javascript. You will probably just shoot yourself in the foot.
I didn't get any requirements for the signature