Style not applied between postbacks

Last post 07-03-2009, 7:06 AM by nausherwan.aslam. 9 replies.
Sort Posts: Previous Next
  •  07-01-2009, 9:49 AM 186409

    Style not applied between postbacks

    Hi,

    I set a style using the Style property to cell. Between postbacks, the style is not applied. Is there something to do to keep the style between postbacks ?

    Thanks

     
  •  07-01-2009, 11:15 AM 186433 in reply to 186409

    Re: Style not applied between postbacks

    Hi,

    Thank you for considering Aspose.

    Well, I tested your issue and found no problem in setting the Style Property on postback. Please share further details about your issue (share your sample code or create a sample application and post it here) which can help us reproduce the issue and we will check it soon.

    Thank You &  Best Regards,


    Nausherwan Aslam
    Support Developer,
    Aspose Sialkot Team
    Contact Us
     
  •  07-02-2009, 3:24 AM 186549 in reply to 186433

    Re: Style not applied between postbacks

    Thanks. I just do something like that :

    TableItemStyle style = new TableItemStyle();
    style.BackColor =
    Color.LightSkyBlue;
    style.Font.Size =
    FontUnit.Point(7);
    style.Font.Bold =
    true;
    ctlInputGrid.WebWorksheets[ctlInputGrid.ActiveSheetIndex].Cells[0, 0].Style = style;

    Thanks.

     
  •  07-02-2009, 4:25 AM 186555 in reply to 186549

    Re: Style not applied between postbacks

    Attachment: Present (inaccessible)

    Hi,

     

    We tested your code with v2.0.1.2011 (attached), it works fine between postbacks.

     

    if (!IsPostBack)

            {

                Aspose.Grid.Web.TableItemStyle style = new Aspose.Grid.Web.TableItemStyle();

                style.BackColor = Color.LightSkyBlue;

                style.Font.Size = FontUnit.Point(7);

                style.Font.Bold = true;

                grdWeb.WebWorksheets[0].Cells[0, 0].Style = style;

            }

     

     

    Please try it. If there is still the issue, please create a sample project and post it here. We will check it soon.

     

    Thank you.


    Amjad Sahi
    Support Developer,
    Aspose Sialkot Team
    Contact Us
     
  •  07-02-2009, 4:29 AM 186556 in reply to 186549

    Re: Style not applied between postbacks

    Hi,

    Thank you for considering Aspose.

    I tried your sample code and it applies the style fine on postback. Please create a sample application to reproduce the issue and post it here, we will check it soon.

    Thank You & Best Regards,


    Nausherwan Aslam
    Support Developer,
    Aspose Sialkot Team
    Contact Us
     
  •  07-02-2009, 5:24 AM 186569 in reply to 186555

    Re: Style not applied between postbacks

    Thanks for the new version, it works perfectly. When will the next public release of the Aspose Grid component be available ?
     
  •  07-02-2009, 6:23 AM 186581 in reply to 186569

    Re: Style not applied between postbacks

    Hi,

    Well, you can use the provided fix Aspose.Grid.Web v2.0.1.2011 as an official release. It is an intermediate kind of version which is provided as a fix against some bugs. Normally, a bug fix version is posted in the support forums. You can use this fix for your requirements as long as you wish; it will behave like an official release. It is to be noted here, our next official release would include all the functionality of the previous fixes (including all the intermediate versions till the next official release).

    And we will check if we can provide you an eta for our next official release.

    Thank you.


    Amjad Sahi
    Support Developer,
    Aspose Sialkot Team
    Contact Us
     
  •  07-03-2009, 2:03 AM 186704 in reply to 186581

    Re: Style not applied between postbacks

    Hi,

    In response to your private message:

    Thanks for your response.

    We work in a mutualized environment where multiple projects used the Grid compoment. Therefor, we would like to deploy the new version using a msi or a msp setup file. Is it possible for you to provide us the new version using such a file ?

    Thanks in advance for your help.

    We have built Aspose.Grid.msi contains the latest fixes of Aspose.Grid.Desktop(v2.0.1.14) and Aspose.Grid.Web(v.2.0.1.2011) for your need.  Please download it here and try it.

    Thank you.


    Amjad Sahi
    Support Developer,
    Aspose Sialkot Team
    Contact Us
     
  •  07-03-2009, 2:51 AM 186719 in reply to 186704

    Re: Style not applied between postbacks

    Thank you very much, but the link to the msi doesn't work.
     
  •  07-03-2009, 7:06 AM 186770 in reply to 186719

    Re: Style not applied between postbacks

    Attachment: Present (inaccessible)

    Hi,

    Thank you for considering Aspose.

    Please download and try the attached msi. Please do let us know if it works fine.

    Thank You & Best Regards,


    Nausherwan Aslam
    Support Developer,
    Aspose Sialkot Team
    Contact Us
     
View as RSS news feed in XML