User Profile & Activity

Martin Lie Support
martin@intersoftsolutions.com
Page
of 43

Hello George,

I finally found a way to implement your scenario.

First, you need to set the ColumnType to Custom like following:

<Columns>
    <ISWebGrid:WebGridColumn Name="Region" Width="100px" ColumnType="Custom" 
    Caption="Region" DataMember="Region">
    </ISWebGrid:WebGridColumn>
</Columns>

Then, use NullText property in InitializeRow Server-side event like following:

protected void WebGrid1_InitializeRow(object sender, ISNet.WebUI.WebGrid.RowEventArgs e)
{
   WebGrid1.RootTable.Columns.GetNamedItem("Region").NullText = "<a href='http://www.intersoftpt.com' target='_blank'>Intersoft</a>";
}

NullText property will automatically detect your database that has a null value.

Attached is the sample file for your reference.

Hope this helps.

 

Thank you.

Posted: January 4, 2011 9:42 PM

Hello,

Please ensure that you have included ISNet.dll and ISNet.WebUI.dll in your project's bin folder.

Check your web.config under <assemblies>. You should remove ISNet and ISNet.WebUI assemblies from web.config. The Assemblies are like following:

<add assembly="ISNet.WebUI, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=B1F2A8511635667A"/>
<add assembly="ISNet, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=B1F2A8511635667A"/>
<add assembly="ISNet.ActiveReports.Exporting, Version=5.0.7200.1, Culture=neutral, PublicKeyToken=B1F2A8511635667A"/>

 

Please remove the code above from web.config and try to deploy to your server.

Hope this helps.

 

Thank you.

Posted: January 4, 2011 9:03 PM

Hello,

What I mean is eventhough WebProgressBar is running on FlyPostBack mode, you are still able to invoke Server-side events. For example, when you change the progress interval or value, you can still perform Server-side events such as ProgressInterval, ValueChanged, Start.

Hope this helps.

 

Thank you.

Posted: January 4, 2011 2:18 AM

Hello,

Yes, we would like to apologize for the incorrect information in the documentation. We will surely update the documentation for future reference.

When you display WebProgressBar, it will run on the FlyPostback. But you are still able to run WebProgressBar in FullPostback mode by using the Server-side event provided in its properties.

Hope this helps.

 

Thank you.

Posted: January 4, 2011 2:06 AM

Hello,

I have tested your sample and it is working fine on my end.

In my development server, it works fine. When I deploy to other server, it gives me an error about missing assemblies which are ISNet.WebUI.dll and ISNet.ActiveReports.Exporting.dll. Therefore, I add both of the assemblies and it works fine afterwards.

In your bin folder, I didn't find these two assemblies. Perhaps you want to add them, which are located in [Installation Folder]\Intersoft Solutions\WebUI Studio for ASP.NET\WebUI.NET Framework 3.0\Bin.

Attached is the screenshot before and after deployment process.

Hope this helps.

 

Thank you.

Hello,

You can change the hyperlink text using InitializeRow like following:

protected void WebGrid1_InitializeRow(object sender, ISNet.WebUI.WebGrid.RowEventArgs e)
{
   WebGrid1.RootTable.Columns.GetNamedItem("HyperlinkColumn").HyperlinkDisplayText = "Hyperlink Text";
}

Hope this helps.

 

Thank you.

Posted: January 3, 2011 11:44 PM

Hello,

Naturally, WebProgressBar only supports FlyPostBack.

However, we also provide Server-side events which you can use to perform Postback.

Hope this helps.

 

Thank you.

Posted: January 3, 2011 4:14 AM

Hello Frank,

To set location of WebDialogBox, you can use the following code in Client-side:

function DoShow()
{
   var dlgBox = ISGetObject("WebDialogBox1");
   dlgBox.ShowDialog();
   dlgBox.Window.MoveTo(300, 300);
}

Invoke DoShow() function using button or any controls.

To freeze the dialogbox, you can use OnCreated Client-side event in WebDialogBox and add the following code:

function Created()
{
   var el = document.getElementById("dvWnd_Global_wndWebDialogBox1");
   el.IsInteractiveObject = false;
}

Hope this helps.

 

Thank you.

Hello Fung,

I have successfully replicated your issue on my end.

I could not assume this is a bug, but I will forward this issue to the development team to be investigated further.

 

Thank you.

Posted: January 3, 2011 2:40 AM

Hello,

When you update the hotfix, did you update the WebUI.NET Framework assembly as well?

Try to download the latest hotfix for Framework and see how it goes when you apply the assembly in your production server.

If the error still persists, could you send me a simple working sample that replicates this issue? I will try to run the sample from my end and see the result.

 

Thank you.

All times are GMT -5. The time now is 8:35 PM.
Previous Next