span not working when update panel is used.

Posted by Imabhijith under ASP.NET on 7/27/2012 | Points: 10 | Views : 1127 | Status : [Member] | Replies : 2
i had used span to show status message on actions in my page.
i had to put my Grid View in an update panel to avoid page refresh when i select an option in my Drop Down List.
ever since i used the update panel. my span status message has stopped showing.
please help me out on this issue. also if any clarification is required, please don't hesitate to post back.
thanks
Abhijith

Abhijith.V


Responses

Posted by: Oswaldlily on: 7/27/2012 [Member] Starter | Points: 25

Up
0
Down
Instead of keeping gridview inside updatepanel try to put inside <div>
and keep span also inside <div> separately lik this
<div >
<span class="n">hi</span>
</div>
<div >
<gridview.....>
</div>

Imabhijith, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Imabhijith on: 7/27/2012 [Member] Starter | Points: 25

Up
0
Down
but i want the gridview to show data based on the selected drop down value.
and also i dont want to use auto post back for drop down because it reloads the entire page.
so update panel is the best as far as i know. if you have a better option. please let me know.
thanks

Abhijith.V

Imabhijith, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response