User Profile & Activity

Handy Surya Support
Page
of 223

Hello,

Normally, you could not get it from server side because there is no method or property for this scenario. 
It only can be done via javascritp. However, you can pass the data from client(javascript) to server.

E.g

function WebGrid1_OnAfterResponseProcess(controlId, actionName, lastRequestObject, xmlResponseObject)
        {
            if (actionName != "Custom")
            {
                var WebGrid1 = ISGetObject(controlId);
                var pageIndex = WebGrid1.CurrentPageIndex;
                WebGrid1.AddInput("pageIndex", pageIndex.toString()); 
                WebGrid1.SendCustomRequest();
            }
            return true;
        }


 protected void WebGrid1_InitializePostBack(object sender, ISNet.WebUI.WebGrid.PostbackEventArgs e)   {
     if (e.Action == ISNet.WebUI.WebGrid.PostBackAction.Custom)
     {
          pageIndex = Request["pageIndex"] as string;
     }
   }

Regards,
Handy 

Posted: February 24, 2011 10:00 PM

Hello Michael,

Please try to uninstall and reinstall once again. If this issue still persists, please try to open your Visual Studio 2010>>Help>>ManageHelpSettings and try to see if the documentation is correctly installed in your system.

Note: You need to run as administrator priviledge for all those steps.

Regards,
Handy

Hello Larry,

It is not possible to have 2 child at the same level. However, You can combine those child tables into one table. 
You can access a row in second table by using GetChildRow() method.

e.g

WebGrid1.RootTable.GetRow(0).GetChildRow(0);

Regards,
Handy 


Posted: February 24, 2011 9:22 PM

Hello Matt,

We have a sample that similars with your need. Please open WebTreeView sample>>SelectedNodes.aspx.
Also, What do you mean by removes nodes at bind?

Regards,
Handy

Posted: February 23, 2011 9:24 PM

Hello Eric,

I mean if there is any DataCaching for WebGrid that you used. You can also ready more about DataCaching in our WebGrid documentation. Or you told us about your WebGrid and WebServer settings.

Regards,
Handy

Hello Nicolas,

You can try to use our UpdateManager to get the latest hotfixes. It has been released. But you need to downgrade the older version before run UpdateManager. Otherwise, it would recognize that you already had the latest.

Or, you can keep one of the nightly build that we sent before. Please try to use the latest date. The nightly build is close with official version.

About your current issue, you should not define in PageInit. Please moved the code into textEditor_PreInitialize server side event. It works fine without the error.

Regards,
Handy

Posted: February 23, 2011 9:11 PM

Hello Matt,

Have you ever tried our WebEssentials sample? It also uses MasterPage. The sample use Iframe to load page when use select a menu in WebEssentials.
For more information, please try to see our WebEssentials sample and let me know if it is close enough or not with what you are looking for.

WebEssentials Sample >> C:\Program Files\Intersoft Solutions\Intersoft WebUI Studio 2010 R2\Samples\For ASP.NET\ISNet.WebUI.Samples\cs\WebEssentials

Regards,
Handy

Posted: February 23, 2011 9:03 PM

Hello David,

Thank you for the details. Unfortunately, you could not do this.
It is created as design. We expect the hierarchical to be looked like tree view design.
When navigating to its child, it should put some indents.

Regards,
Handy

Posted: February 23, 2011 8:55 PM

Hello Murthy,

I assume you use dropdownlist as a parameter control or filter to bind our WebGrid. Please correct me if I am mistakenly in understanding your issue.
Do you bind WebGrid programmatically (query) or use a datasource control?
If it is programmatically, please let me know how do you bind WebGrid?
Normally, you should bind WebGrid at OnInitializeDataSource event.
To show your column structure, you need to define the column or use RetrieveStructure() instally at OnPrepareDataBinding event.
I hope you can provide more details regarding this issue. We will need it to investigate your issue.

Regards,
Handy

Posted: February 22, 2011 11:01 PM

Hello Zak,

You can hide the add new row but I am not sure if you can use link button since it would cause a fullpostback. At least, you know how to add the new row programmatically.
The rest is up to you which approach that you would like.

Regards,
Handy

All times are GMT -5. The time now is 7:25 PM.
Previous Next