User Profile & Activity

Hans Kristian Member
Page
of 69
Posted: November 19, 2012 2:02 AM

Hello,

Yes, that is possible.

I made a simple WebCombo sample that load data from list.

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

Regards,

Hans.

Hello,

I apologize for any inconvenience this problem may have caused you and please forgive me for lack of understanding about the reported problem.

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

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

In WebGrid, I add one column and set the EditType to "WebComboNET".

I also set the WebCombo to use client binding.

However I can’t reproduce your issue on my end.

Could you provide me the step by step how to reproduce your issue on my end?

Or could you provide me a simple sample that replicates your issue? So I can help you to investigate this issue further more.

And if you don’t mind, please kindly have on my sample and let me know if there is configuration that I missed in my sample.

Regards,

Hans.

Posted: November 12, 2012 3:13 AM

Hello,

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

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

In my sample, if the value of ShipperID is “1”, the ShipperID will appear as a hyperlink to another page.

In ShipperID column, I set ColumnType property to "Custom".

And in InitializeRow server side event I add some validation code:

protected void WebGrid1_InitializeRow(object sender, ISNet.WebUI.WebGrid.RowEventArgs e)
{
    string shipperID = e.Row.Cells.GetNamedItem("ShipperID").Text;
    if (shipperID == "1")
        e.Row.Cells.GetNamedItem("ShipperID").Text = "<a href='http://google.com'>" + shipperID + " </a>";
    else
        e.Row.Cells.GetNamedItem("ShipperID").Text = shipperID;
        
}

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

Regards,

Hans.

Hello,

I made a simple WebPaneManager with two WebPane that use iFrame content.

In each iFrame page I add TextBox and Button.

If user clicks the button in Pane 1, it will change value of TextBox in Pane 2.

If user clicks the button in Pane 2, it will change value of TextBox in Pane 1.

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

Thank you.

Regards,

Hans.

Posted: November 4, 2012 8:45 PM

Hello,

I'm afraid that there are not going to be any further updates for WebGrid 7, due to WebGrid 7 has now been discontinued.

Thank you for your understanding.

Regards,

Hans.

Posted: November 2, 2012 2:55 AM

Hello,

This Calendar Combo issue is already fixed in WebGrid 8.

Please kindly check the calendar combo using WebGrid 8.

Thank you.

Regards,

Hans.

Hello,

 

Thank you for your information.

If you wish to have a row to see the total from one of Webgrid’s column, you could use AggregateFunction property.

I bind Webgrid to Products table and I set ColumnFooters property to Yes.

In UnitsInStock column, I set AggregateFunction property to Sum.

The total value will be updated if I update the value in UnitsInStock column.

Please have review on my sample to the result.

However, if this solution doesn’t meet the requirement of your scenario, could you please provide a simple runnable project? So I can help you to find the solution.

Thank you.

Regards,

Hans.

Posted: October 30, 2012 7:57 AM

Hello,

Thank you for your reply and the sample.

Have you reviewed my sample? Please let me know your response.

And would you mind to provide me a simple runnable sample that similar with your scenario? So perhaps I can help you find to approximate workaround for you because I have difficulty in running your sample.

Thank you for your understanding,

Regards,

Hans.

Hello,

Thank you for your reply.

After I change the doctype, I can replicate your issue on my end as well.

To resolve this issue please try to modify the code in keyDown javascript function.

From:

nextRowEl.Select();

To:

nextRowEl.Select(true);

This workaround works on my end.

Regards,

Hans.

Posted: October 28, 2012 10:13 PM

Hello,

 

I’m sorry for the late response.

Please try to too add this code below in WebGrid1_OnEditKeyDown client side event:

var curRowEl = grid.RootTable.GetRow(curRow);
var cell = curRowEl.GetCell(curCell - 1);
if (event.keyCode == 27) {
    cell.Select(true);
}

Hope this helps.

Regards,

Hans.

All times are GMT -5. The time now is 9:29 PM.
Previous Next