Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi Group,

 

In my application I am using a datagrid, now I m implementing sorting for that datagrid,

I am changing the flag for ascending and descending when SortCommand event of datagrid is fired.

 

Now the problem I am facing is that the Sort Command event is being fired twice even if I click the header in datagrid only once thus my flag is getting reset to the original value.

 

(I know that the event is first raised during the restoration of the page's view state. The second notification arrives when the page is being built.)

(I am using .Net 1.1)

 

Please help me out in this!!

 

Thanks,

 

Anup Daware

Anup.daware@gmail.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...