User Profile & Activity

Andi Santoso Support
Page
of 53
Posted: April 22, 2010 4:15 PM

Hi Ben Denison,

    Forgive me, however our current WebGrid component does not support this feature. Thank you.

Best Regards,

Andi Santoso

Posted: April 22, 2010 12:35 PM

Hi Mark,

     Sorry, however there are some corrupt data while I try to extract the file of yours. Could you re-send me again and make sure that it is download-able, I would really appreciate that.

     Thank you.

Best Regards,

Andi Santoso

Posted: April 21, 2010 5:57 PM

Hi Brad,

    Glad to hear that it helps you to solve the problem. Please do not hesitate to ask if you have any other questions. Thank you and have a nice day.

Best Regards,

Andi Santoso

Posted: April 21, 2010 4:15 PM

Hi Brad,

    So terribly sorry for mistaken. It seems that I have uploaded a wrong file, here I attached you a right one. Basically, for the first time, you do not need to put anything in that "load.isl" file, just leave it blank. That is why if you see on my sample, I have made a condition if the length of the file is zero, then we do not need to load these file.

    In your case, in my opinion, if every user wants to have a different layout of WebGrid, you will need to make another validation to load which file for which user.

    I hope it helps. Thank you and have a nice day.

Best Regards,

Andi Santoso

Posted: April 21, 2010 3:39 PM

Hi Brad,

    To establish this scenario, we will need to do a save layout procedure. So, first of all, you will need to create a sample load file using notepad and save as "load.isl" and Ensure to put this file in your project folder. Then we can load this file in PrepareDataBinding on Server side event and save them in InitializePostBack event.

     However, this saving file will only work if the WebGrid is doing an event of InitializePostBack, that is what we also need to create client side event of ColumnMove to trigger the InitializePostBack server side event by using send custom request.

    To clarify this, I attached you a simple sample of this scenario. Kindly download and run it in your end. It should meet your scenario.

     I hope it helps. Thank you and have a nice day.

Best Regards,

Andi Santoso

Hi Gaurav,

     I am able to replicate the issue, I will inform Yudhiy regarding this and also follow this up to our developer. I will inform you as soon as possible as I get news from them. And also, I will treat this work item as a high priority.

    Thank you and have a nice day.

Best Regards,

Andi Santoso

Hi Shawn,

     Yes, for the particular sample that I have created for you, this cannot be done since we have created the WebGrid programmaticly and bind them thru PreInitialize. So, I will suggest you to use specify the structure via code-behind. And define the structure in PrepareDataBinding server side event.

     Thank you and have a nice day.

Best Regards,

Andi Santoso

Hi Shawn,

     If we are willing for not using RetrieveHierarchicalStructure, then we will need to specify all the parent and child row in the HTML code. From what I see on your provided code, I did not see that you have specified that in particular. If we do so, we do not need to use RetrieveHierarchicalStructureMethod.

    Attached is a simple sample that I created under Hierarchical WebGrid. Notice that I do not call RetireveHierarchicalMethod in the server. However, the structure is still persisted.

    I hope it helps. Thank you and have a nice day.

Best Regards,

Andi Santoso

Posted: April 20, 2010 12:08 PM

Hi Christian,

     Forgive me, I am having a problem to understand your scenario. Could you kindly be more specific on this? For example, does it related to WebGrid? Do you want to have a context menu that can show a specific column name?

     Perhaps, you wanted to have a context menu and sub context menu that the item is retrieved from particular column. You detail information would be appreciated and it can help me to support you with the right solution.

     Thank you and have a nice day.

Best Regards,

Andi Santoso

Hi Gaurav,

    Forgive me, however, I am not able to replicate the issue of yours. Here, I attached you my running sample and a video that replicate the scenario of yours. However, the AcceptAllChanges method runs nicely in my end. I was wondering if I am missing something. 

    Thank you and have a nice day.

Best Regards,

Andi Santoso

All times are GMT -5. The time now is 10:45 AM.
Previous Next