User Profile & Activity

Martin Lie Support
martin@intersoftsolutions.com
Page
of 43

Hello Wolfgang,

You could send your web.config to my email: martin@intersoftpt.com.

I will look at your web.config and try to provide the best solution for your issue.

 

Thank you.

Hello,

This is a known issue due to Microsoft Visual Studio environment.

This issue does not happen all the time, but when you encounter this issue, there might be a way to fix it.

I found this issue before and what I did was to re-create a new project and re-add the Database (.mdf) in App_Data and re-create the dataset in App_Code.

Or, try to delete the current one you have created. Close the project and re-open it. Re-add the database along with the dataset, and see whether the dataset is displayed in the schema name.

This is the best thing we can do so far for a workaround since the issue came from Visual Studio and we couldn't fix any issue from that environment.

Hope this helps.

 

Thank you.

Hello,

I'm afraid Templated Cell is not supported in WebGrid's AddNew row.

You can only apply the templated cell in the records row of WebGrid.

 

Thank you.

Posted: March 2, 2011 1:36 AM

Hello Larry,

Yes, it is possible to add a context menu on child table. You can use OnRowContextMenu Client-side event available in WebGrid, and then use the menuObject parameter provided in the event to add a context menu.

However, you will be required to add a validation in order to show the specific context menu on child table.

I have attached a sample for your reference. In this sample, I add a validation to show the specific context menu on child table "Orders". Therefore, when you expand the first child table and right-click on the row, you will see there is an additional command on the context menu called "View Row's KeyValue".

Hope this helps.

 

Thank you.

Posted: March 1, 2011 11:16 PM

Hello Larry,

To refresh child table, you simply need to use the following script:

function refreshChild()
{
   var grid = ISGetObject("WebGrid1");
   grid.Tables["Orders"].Refresh();
}

I have attached a sample file for your reference. In the sample, I used hierarchical grid with table Orders and Order Details as its child tables. By using the code above, I simply refresh the child table with named "Orders".

Hope this helps.

 

Thank you.

Posted: March 1, 2011 3:12 AM

Hello,

You can use InitializeRow Server-side event in WebGrid. You put the validation over there and set the Font style like following:

protected void WebGrid1_InitializeRow(object sender, ISNet.WebUI.WebGrid.RowEventArgs e)
{
   if (e.Row.Cells.GetNamedItem("Column1").Text.ToString() == e.Row.Cells.GetNamedItem("Column2").Text.ToString())
   {
      e.Row.Cells.GetNamedItem("Column1").Style.Font.Bold = true;
      e.Row.Cells.GetNamedItem("Column2").Style.Font.Bold = true;
   }
}

Attached is the sample file for your reference. Hope this helps.

 

Thank you.

Hello Wolfgang,

When you use SmartWebResources, you simply need to copy the entire project to the deployment server.

Yes, you are correct. Runtime license key has unlimited usage on deployment, whereas Design-time has limited usage based on Developer.

When you get trial message, there are some things you need to notice.

First, you need to ensure that you have use correct Runtime license key, not design-time license key.

Second, you need to ensure that there is no white/blank space in the end of Runtime license key during inputting in Deployment Manager.

For more information on this issue, please refer to the General Licensing Issue on Deployment Phase.

Hope this helps.

 

Thank you. 

Hello,

To generate your custom assembly, you need to use project's library in your ASP.NET.

However, it is possible to create two textbox and one image button in the same column. You can use Template as your grid's ColumnType and later on you can add your additional controls in the <CellTemplate>.

Attached is the sample file for your reference. Hope this helps.

 

Thank you.

Posted: February 28, 2011 10:31 PM

For your information, ClientUI doesn't have 30-days trial period. Therefore, you can use the trial version as long as you want.

 

Thank you.

Posted: February 27, 2011 11:40 PM

Hello,

Does this error occur on your development or deployment?

If the error only occurs on your computer, that means it could be something missing in your script files.

You should check your CommonLibrary folder whether you have defined the scripts for your WebGrid project.

Hope this helps.

 

Thank you.

All times are GMT -5. The time now is 11:41 PM.
Previous Next