User Profile & Activity

Hans Kristian Member
Page
of 69
Posted: February 11, 2013 10:02 PM

Hello,

Thank you for reply.

In order to help you to resolve this issue, I need more detailed information about your current project.

What is your current WebGrid version? Do you have tried to use WebGrid v8 and the latest Framework version in your project?

Are you using HTML4 doctype as well?

If you don’t mind, could you please try to add “table-layout: fixed” CSS style in WebGrid container. Here’s the example snippet code:

<div style="table-layout:fixed;">
    <ISWebGrid:WebGrid ID="WebGrid1" runat="server" Height="250px" UseDefaultStyle="true"
        Width="500px">
    </ISWebGrid:WebGrid>
</div>

I am looking forward for your reply. Thank you.

Regards,

Hans.

Posted: February 7, 2013 8:56 PM

Hello,

Thank you for your reply.

I made a simple sample based on your code.

In this sample, I use HTML5 doctype and add some CSS styling for html, body, and form tag.

I also set RenderingMode property in WebPaneManager to “HTML5”.

With this configuration I can resolve the height issue.

Please kindly have review on this sample and let me know your response.

Due to HTML5 only supported in IE9, so please ensure you are using IE9 not IE8.

Regards,

Hans.

Posted: February 6, 2013 9:58 PM

Hello,

I apologize for any inconvenience this problem may have caused you and thank you for your sample.

After I review your sample on my end, it seems you are using HTML5 doctype on your sample.

In order to use WebPaneManager in HTML5 doctype, you should set RenderingMode property in WebPaneManager to “HTML5” as well, like you did in WebGrid.

Please let me know whether the issue still persists or not.

Regards,

Hans.

Posted: February 4, 2013 10:59 PM

Hello,

I apologize for any inconvenience this problem may have caused you.
It should be no difference in project’s result, even after you upgrade your project.

Please kindly ensure once again that you are using the latest assembly’s version in your project (WebCombo assembly and Framework assembly).
To get the latest assembly version, please try to use Intersoft Update Manager application. Here’s the link how to apply the latest assembly:
http://www.intersoftpt.com/Build/ApplyHotfix


Here’s the link how to upgrade your existing WebUI Studio project:
http://www.intersoftpt.com/Support/WebUIStudio/Tutorial/Text/Upgrade-your-existing-WebUI-Studio-project/


However, if the issue still persists after applying the latest assembly, please kindly try to re-register the SmartWebResources. Here’s the link you to register SmartWebResources:
http://www.intersoftpt.com/Support/WebUIStudio/Tutorial/Text/Register-SmartWebResources/

Hope this helps.

Regards,

Hans.

Posted: February 3, 2013 9:30 PM

Hello,

This issue is already queued in our work items and will be fixed in this month.

You will be notified when a fix is available

Thank you for your understanding and patience.

Regards,

Hans.

Posted: January 31, 2013 9:52 PM

Hello,

I apologize for any inconvenience this problem may have caused you.

I made a WebGrid simple sample that perhaps similar with your current scenario.

I bind WebGrid to access data source (Northwind.mdb database & Shippers table).

Then I go to WebGrid designer and I set new value in Text Settings.

But unfortunately I can’t reproduce your issue on my end.

I’m willing to advise you further but in order to do so I would need you to elaborate on your specific scenario and possibly provide me a step by step guide that I can use to observe the problematic behavior.

For your information, I use WebGrid v8.

Could you inform me your current WebGrid and Framework version?

Thank you.

Regards,







Hans.

Posted: January 28, 2013 11:45 PM

Hello,

I apologize for any inconvenience this problem may have caused you.

The live sample and installer or hotfix that available in our website is using the latest/newest version.

That means our live sample is using WebGrid v8, not WebGrid v7.

And in this case, the available hotfix is for WebGrid v8, not for WebGrid v7.

If you are using WebGrid v7 in your project, please ensure that you are using the assembly and the javascript file for WebGrid v7 as well.

For your information, supposed to be if there is an issue in WebGrid v7, it’s already fixed in WebGrid v8.

And if there is another issue occurs in WebGrid, the hotfix will only available for WebGrid v8.

Therefore if you want to get the latest hotfix, I suggest you to upgrade your WebGrid v7 to WebGrid v8.

Now our WebGrid v8 is already compatible with HTML5 doctype and CSS3.

Perhaps there is additional cost to upgrade your WebGrid version; however you don’t need to modify your application’s code after upgrading your WebGrid version. You just need to modify your assembly file and javascript file.

For further information about license purchasing, please feel free to contact martin@intersoftpt.com.

Thank you for your understanding.

Regards,

Hans.

Posted: January 28, 2013 10:47 PM

Hello,

Thank you for sample.

I have reviewed your sample and try to modify the sample so that perhaps similar with your current scenario.

Due to your WebGrid are using server side bind, therefore I add the validation code on InitializeRow server side event.

The validation code is to change the text of the Key cell to "None", if the text and the value if Key cell is the same.

Here’s the snippet code on InitializeRow event:

protected void tblDealClass_TargetByPeriodWebgrid_InitializeRow(object sender, RowEventArgs e)
{
    string keyText = e.Row.Cells.GetNamedItem("Key").Text;
    string keyValue = e.Row.Cells.GetNamedItem("Key").Value.ToString();
    // If the text and the value if Key cells is the same. Change the text to "None"
    if (keyText == keyValue)
        e.Row.Cells.GetNamedItem("Key").Text = "None";
}

Hope this helps.

Thank you.

Regards,

Hans.

Posted: January 27, 2013 10:13 PM

Hello,

Thank you for the question and please forgive me for lack of understanding about the reported problem.

If you like to change the value like PeriodID to another value (for example: PeriodName), you could use WebValueList feature in WebGrid.

With WebValueList, you can easily translate ID to Text Lookup by using the DataSource populated in the WebValueList object. For instance, the Supplier Name in the WebGrid above is actually an ID column which is translated to Company Name field of Suppliers table through WebValueList.

Here’s I attached a simple WebGrid sample that using WebValueList feature.
In the sample, I bind WebGrid to access data source control (Northwind.mdb database, Order Details table & Products table).

Please kindly have review on my sample and let me know your response.

For further information about WebValueList, you could see on WebGrid's documentation. 

Thank you.

Regards,

Hans.

Posted: January 24, 2013 11:17 PM

Hello,

If you just want to load a control in sub panel, you don’t need to add WebFlyPostManager in each sub panel page. You just need add one WebFlyPostManager in main page.

But if you want to load an iFrame in your sub panel, you should add the WebFlyPostManager in the sub panel page.

However if answer is not suitable in your scenario, could you help me to provide me a runnable simple sample or the step by step guide that I can use to observe the problematic behavior?

I can help you to investigate this issue further more.

Thank you.

Regards,

Hans.

All times are GMT -5. The time now is 1:31 PM.
Previous Next