Awards

2011

2010

2009

Articles selected as “Article of the day” @ Microsoft official website http://www.asp.net

15 Responses to Awards

  1. sir i want to do ms certification can you please guide me how to prepare for this examination and if u have study material then plz provide me .
    thnx in advance .

  2. thnx for quick reply,sir bcoz i m a beginner so i m thinking to do MCTS: .NET Framework 3.5 Windows Forms Applications or MCTS: .NET Framework 3.5 ASp.net Applications 70-536 .Is it a right thing to do.which one is good for me ?.
    sir if u know any link to provide study material then please send me link.

  3. Rakesh Aytrha says:

    hi sir,
    one of your postings helped me a lot..i m very thankful to you..
    i had a page with large amount of data in view-state which made my page performance to degrade drastically.. i saw one article posted by you containing compression and decompression of view state …
    i ‘m checking on your posted code…i liked it very much..hope your code increases my project performance ….
    THANK-YOU

    • Brij says:

      Glad to know that you find my post useful.

      Thanks

      • Rakesh Aytha says:

        hi sir
        the code what you have posted works good for pages…In my project i created a usercontrol where i created a listbox for multiselection purpose and brought that list box to the my page…when i used your code viewstate is compressed only for page…the usercontrol’s viewstate is not compressed…

        Is there any method for compressing viewstate for usercontrols……
        please notify me..it would be very useful to me…

      • Brij says:

        To compress the viewstate of control, you can override the methods (LoadPageStateFromPersistenceMedium, SavePageStateToPersistenceMedium) for UserControl. You can create a generic BaseControl that inherits System.Web.UI.UserControl and override the methods.

        Let me know if you face any issue.

        Cheers,
        Brij

  4. Rakesh Aytha says:

    HI SIR,
    thanxs for the reply..the problem is I have taken a class (Class1.cs) and wrote two methods which you have specified in earlier post…but the problem is In usercontrol when i tried to inherit the class1.cs …it was showing error…

    public partial class WebUserControl :Class1

    Error: Make sure that the class defined in this code file matches the ‘inherits’ attribute, and that it extends the correct base class (e.g. Page or UserControl).

    Is this the correct format to make inherit the class …if not please reply me…

    Awaiting for your reply…

    • Brij says:

      Your Class1.cs should inherit System.Web.UI.UserControl . Because everytime when you create a usercontrol it inherits System.Web.UI.UserControl.

      • Alex Tey says:

        Hi Brij,

        I’m facing similar issue. I’ve override SavePageStateToPersistenceMedium and LoadPageStateFromPersistenceMedium for my Page. It is working fine.

        However, i create another .cs, use back the same overriding code, and inherit System.Web.UI.UserControl, it doesn’t for usercontrol. It shows “no suitable method found to override” error message.

        Is it possible to give me some lights?
        Thanks in advance.

  5. Rakesh Aytha says:

    but when i try to inherit the class it was showing error for the methods(ie..LoadPageStateFromPersistenceMedium, SavePageStateToPersistenceMedium)….

    and one more problem is the view state compression is working only for gridviews…when i tried to add some more controls in the page …those controls view state is not compressing…

    so IS there any way for reducing viewstate for all controls of the page..
    Awaiting for your reply..

  6. Brij says:

    Hello Rakesh,

    Sorry for late reply, but How did you come to know that your usercontrol’s view state is not getting compressed. Did you able to see many view state fields on page source?

  7. rakesh says:

    yes ..and one more thing …compressed classes are working only for gridview……so if u please let me know how to handle compression of viewstate for all controls.

    Thanks for your reply

    • Brij says:

      Can you share your code? Actually there is only one Viewstate field render on the page. There is only __VIEWSTATE hidden form field is rendered on the entire page.
      I wonder, how did you find many viewstate fields on your page? Did you write some custom code for this?

  8. rakesh says:

    yes sir ill share my code once..
    ill share my soruce page also..thanq again for considering my requests…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 85 other followers

%d bloggers like this: