User Profile & Activity

Hans Kristian Member
Page
of 69
Posted: July 23, 2013 11:46 PM

Hello,

Thank you for your reply.

Here’s I attached a simple WebGrid sample that perhaps similar with your current scenario.
This sample binds to access data source (Northwind.mdb and Shippers table) and then I add two column that have ColumnType=”Button”.

I also add an example validation code in OnButtonClick server side event. Here’s the code:

protected void WebGrid1_ButtonClick(object sender, ISNet.WebUI.WebGrid.ButtonEventArgs e){
    if(e.Column.Name == "colEdit")
        System.Windows.Forms.MessageBox.Show("Edit");
    else if(e.Column.Name == "colDelete")
        System.Windows.Forms.MessageBox.Show("Delete");
    else
        System.Windows.Forms.MessageBox.Show("Other");
}

Please kindly have review on the sample to see the result.

Thank you.

Regards,
Hans.


Posted: July 23, 2013 3:22 AM
Hello,

So you want to modify the BarVisible value when you resize the pane?
Perhaps you could use OnPaneResize client side event, then you modify the BarVisible value.
Here’s the snippet example code how-to modify BarVisible value:
<script type ="text/javascript">  function onPaneResize()  {    
var WebNavPane1 = ISGetObject("WebNavPane1");
            WebNavPane1.BarVisible = 3;
}
</script>

However, if my answer doesn’t suitable for your current scenario, please kindly provide me more detail or the step by step how-to implement your current scenario.

Please forgive me for lack of understanding about the reported problem.

Regards,
Hans.

Posted: July 21, 2013 11:45 PM
Hello,

Thank you for your question regarding WebGrid.

If you don’t mind, could you help me to provide me more detail about you current scenario?
Perhaps the step by step guidance how-to implements your current scenario on my end or the simple runnable sample that I can use to investigate.
So I can help you to find the right work around for your current requirement.

Thank you very much.

Regards,
Hans.

Hello,

You could use Hierarchical mode in WebGrid without using ISDataSource control.
We also already provide samples that show how-to bind hierarchical in WebGrid without ISDataSource control.

To see the samples, just simply go to WebGrid Tutorials solution in your Start Menu (WebGridTutorial.png).
[Start Menu -> All Programs -> Intersoft WebUI Studio 2012 R2 -> WebGrid 8 -> C# Tutorials Solution].

In WebGrid Tutorials solution, go to V3.1 -> BindingHierarchical.aspx (WebGridBindingHierarchical.png). In this sample, we use InitializeDataSource server side event to bind the WebGrid to Table Adapter.

Hope this helps. Thank you.

Regards,
Hans.
Posted: July 15, 2013 6:26 AM
Hello,

Thank you for your question regarding WebListBox.

Could you provide me more information regarding this WebListBox issue? Perhaps a step by step guidance how-to reproduces your issue on my end and screenshot/images about your issue.

And if you don’t mind, could you help me to provide a simple runnable sample that replicates your issue?
So I can help you to investigate this issue further more.

Thank you.

Regards,
Hans.

Hello,

Thank you for your reply.

I have modified the sample based on your reply.
I modify the doctype to XHTML doctype and I set the RenderingMode property to XHTML.
But unfortunately, the context menu works fine on my end.

I attached the modified sample and the video about the result on my local end.
Please kindly have review on the sample and video once again and please let me know if there are any configurations that I missed on my sample.

Have you tried to use latest Intersoft assembly version? Could you inform me your current assembly version?

Regards,
Hans.

Hello,

Thank you for your question.

It seems you just mistype the code when you try want to the cell value.
Please try to modify your code from:

WebGrid1.RootTable.Rows(WebGrid1.RetrieveClientLastSelectedObject().RowIndex)

To

WebGrid1.RootTable.Rows[WebGrid1.RetrieveClientLastSelectedObject().RowIndex]

I also attach a simple WebGrid sample about how to get cell value from server side. Please kindly have review on the sample to see the result.

Hope this helps.

Regards,
Hans.

Hello,

I am sorry for this misunderstanding.

I tried to set the Browser Mode to IE10 and Document Mode to IE8 Standards (WebGrid_IE8_2.png), but unfortunately, I still can’t replicate your issue on my end.

Would you mind to help me to provide me more detail about your current page configuration?
Or is it possible to you to modify my sample so I can replicate your issue on my end?

Thank you for your help.

Regards,
Hans.

Posted: July 2, 2013 10:50 PM

Hello,

Thank you for your question regarding WebCombo.

Actually in WebCombo samples, there are samples to show how to add items that are not in the DataSource / WebCombo. For example: AddItem.aspx, AddItemAdvanced.aspx, etc.

I made a simple sample to show to add new item to WebCombo based on AddItem.aspx sample (in WebCombo samples).

Please kindly have review in WebCombo Solution Samples and my sample to see the result.

Thank you.

Regards,
Hans.

Hello,

Thank you for your detail information regarding this context menu issue.

I also have tried to create a simple WebGrid sample then run the sample in IE10 with browser mode set to IE8.
But unfortunately, I didn’t get any issue with the context menu (WebGrid_IE8.png).

Please kindly have review on my sample and please let me know if there are any configurations that I missed on my sample.

Thank you.

Regards,
Hans.
All times are GMT -5. The time now is 5:46 PM.
Previous Next