GridView events

  • Thread starter Thread starter Abhishek
  • Start date Start date
A

Abhishek

Hi

I am trying to implement the inbox of a mail application using gridview.
The application resembles a lot like gmail. I would like to have a
button on which i am able to delete multiple selected messages in my
gridview.

The problem at the moment is that on autopost back the rowcreated event
of the grid view gets called before i have the opportunity to process my
own code. Any suggestions would be most appreciated.

Thanks
Abhishek Samuel
 
You can probably override the method that is getting
called with your own version. You need to find the method,
which class etc and then write a class that inherits from
it and simply override the method in that - ie write a method
with exactly the same name and the keyword 'overrides'.

There may be a simpler solution, and I hope that method
is not described as final in the original.

There is a blog on cssadapters which does somethinbg similar.
It has a downloadable project showing how its done.

love from
wawens
 
Hi Abhishek,

After carefully reviewed your question, I'm still not quite clear about it.
If you're implementing an inbox using GridView, I believe following sample
can help:

#Cutting Edge: Extending the GridView Control -- MSDN Magazine, May 2006
http://msdn.microsoft.com/msdnmag/issues/06/05/CuttingEdge/default.aspx
Although the GridView is a rich and powerful control, there are still
changes you can make to improve it. The new grid control I created here,
for example, works like the parent GridView control and supports multiple
selection through a checkbox column with client-side capabilities.

Let me know if I've misunderstood your question or you need further
information about it. Thanks.

Sincerely,
Walter Wang ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hi Abhishek,

I'm not sure if you have seen my previous reply, if you do, would you
please let us know if it's solved now? Thanks.

Regards,
Walter Wang ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top