DataGrid Sorting in a Web User Control

T

Teemu Keiski

Set your machine's clock to correct time...

You need to provide more details what happens inside the user control.

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist

All:
In my application I am using datagrid control, When I added the datagrid
control to a webform , I could sort the datagrid with out any problme, but
when I put the same datagrid in another web user control, and loading the
user control dynamically depending upon the properties set in the main
webform, In this scenario, The datagrid is displaying the results , but I
could not sort, I am loading the Web user Control in the Main webForm in
Page_Load, from there it is going to WebUser Control's PAGE_LOAD,but not to
the DataGrid1_SortCommand, I think I am missing some thing here.

Could any help on this,
Thanks In Advance,
VT
 
V

vtreddy

All:
In my application I am using datagrid control, When I added the datagrid control to a webform , I could sort the datagrid with out any problme, but when I put the same datagrid in another web user control, and loading the user control dynamically depending upon the properties set in the main webform, In this scenario, The datagrid is displaying the results , but I could not sort, I am loading the Web user Control in the Main webForm in Page_Load, from there it is going to WebUser Control's PAGE_LOAD,but not to the DataGrid1_SortCommand, I think I am missing some thing here.

Could any help on this,
Thanks In Advance,
VT
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top