I have dropdownlist as well as TextBox in GridView on which event is bind. Normally when we select quantoty from the dropdownlist, it simply multiplies with the adjacent cells of the row to the next cell.
Since the entire GridView is inside the Updatepanel. Its get refreshed every time I change the dropdown or textbox's data.
But I like to have update panel row wise only. Is it possible?
I tried wrapping these controls (DDL and textbox) exclusively with UpdatePanel, but it didn't worked. I think it is being important for me as Grid is long and even each row in having a Thumbnail binded and which is coming from database blob with HttpHandler.
It is in the updatepanel. The problem is my loading taking time as per the calculation I am doing. So I thought if it would be based on GridViewRow then it will update only relevant row not the entire Grid.
Let me be more specific and more simple, what I need is just this:
When I select a value from dropdownlist it takes time to update even I just have very simple calculation and no communication to database is there. I suspect that my gridview is having thumbnail column also which is coming from blob using httphandler. entire
image in the column gets refreshed when I select from dropdown.
jaykhatri
Member
118 Points
132 Posts
Using UpdatePanel for dropdown inside GridView
Feb 15, 2012 02:18 PM|LINK
Hi,
I have dropdownlist as well as TextBox in GridView on which event is bind. Normally when we select quantoty from the dropdownlist, it simply multiplies with the adjacent cells of the row to the next cell.
Since the entire GridView is inside the Updatepanel. Its get refreshed every time I change the dropdown or textbox's data.
But I like to have update panel row wise only. Is it possible?
I tried wrapping these controls (DDL and textbox) exclusively with UpdatePanel, but it didn't worked. I think it is being important for me as Grid is long and even each row in having a Thumbnail binded and which is coming from database blob with HttpHandler.
Hope yo have early replies.
Thanks & Best Regards
Jaide Khatri
Song-Tian - ...
All-Star
43699 Points
4304 Posts
Microsoft
Re: Using UpdatePanel for dropdown inside GridView
Feb 17, 2012 05:57 AM|LINK
Hi,
Why you not put the gridview in updatepanle? For more details of updatepanle, please refer to: http://msdn.microsoft.com/en-us/library/bb386454.aspx.
Feedback to us
Develop and promote your apps in Windows Store
jaykhatri
Member
118 Points
132 Posts
Re: Using UpdatePanel for dropdown inside GridView
Feb 17, 2012 06:41 AM|LINK
Many Thanks for your reply.
It is in the updatepanel. The problem is my loading taking time as per the calculation I am doing. So I thought if it would be based on GridViewRow then it will update only relevant row not the entire Grid.
Best Regards
Jaidev Khatri
Song-Tian - ...
All-Star
43699 Points
4304 Posts
Microsoft
Re: Using UpdatePanel for dropdown inside GridView
Feb 17, 2012 07:06 AM|LINK
Hi,
I don't suggest you do that like you said. But you could try ASP.NET AJAX extender HoverMenu. For details, please refer to: http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/HoverMenu/HoverMenu.aspx and http://www.asp.net/ajaxlibrary/act_HoverMenu.ashx.
Feedback to us
Develop and promote your apps in Windows Store
jaykhatri
Member
118 Points
132 Posts
Re: Using UpdatePanel for dropdown inside GridView
Feb 17, 2012 07:06 AM|LINK
Let me be more specific and more simple, what I need is just this:
When I select a value from dropdownlist it takes time to update even I just have very simple calculation and no communication to database is there. I suspect that my gridview is having thumbnail column also which is coming from blob using httphandler. entire image in the column gets refreshed when I select from dropdown.
It is taking time? Don't know.
jaykhatri
Member
118 Points
132 Posts
Re: Using UpdatePanel for dropdown inside GridView
Feb 17, 2012 07:22 AM|LINK
Ok, I will try this and revert. May be it is similar of PopControl of Devexpress which only I worked before this.