User Profile & Activity

Handy Surya Support
Page
of 223

Hi Adam,

Yes, you should be able to do that scenario.

e.g At the first load, WebGrid is grouping by city.

You can try to validate at OnColumnUngroup client side event.

function WebGrid1_OnColumnUngroup(controlId, columnObject)
{
	var WebGrid1 = ISGetObject(controlId);
	if (columnObject.Name == "City") {
		return false;
	}
	return true;
}

Regards,
Handy

Posted: June 8, 2010 10:42 AM

Hi,

It is still 5MB and damaged in here. Please try to remove our assemblies and reattached with another names.

Regards,
Handy

Posted: June 8, 2010 9:47 AM

Hi Huzefa,

The files are broken or damaged. Please reattached again.

Regards,
Handy

Hi Nitin,

Please refer into this link.

Regards,
Handy

Hi Nitin,

In Link WebCombo scenario, the second WebCombo would not show value if WebCombo 1 (parent) has not been selected.
In filter condition, it should have working fine. The second WebCombo will remain blank until you selected WebCombo 1(default behaviour).

Actually, there is one minor issue at in EditMode.
At the first load, all the text are loaded in WebGrid, include in each cells which integrated to WebCombo.
However, if you go directly into WebCombo 2, it will said that you need to select WebCombo 1 and will return blank in your WebCombo 2.
Even though the cell which integrated into WebCombo 1 is loaded, but the text is not persisted in WebCombo 1. That's why it still recognizes that WebCombo 1 (parent) has not made a selection yet.

To overcome the issue, you will need to persist the text into WebCombo 1.

Attached sample will show you how to do it. Hope this helps.

Regards,
Handy

Posted: June 7, 2010 3:56 PM

Hi Huzefa,

If you could not replicate the issue in our sample, would you mind to let us know your WebToolBar structure and settings? We need this to investigate your issue. Thank you.

Regards,
Handy

Hello Tim,

You can let us know if you don't know how to use the code correctly in our new product. Please don't hesitate to ask us.

Regards,
Handy

Hi Huzefa,

Yes, I saw the attached image. As I said before, you will need to handle to select identity when insert a new row.
I think no matter what you used, as long as you hadle to select identity which will retrieve the current increment id.

In our sample, we used the code below to handle it.

 int? identity = this.SelectIdentityQuery();
 OrderID = identity;

Here is the other article to do in Sql.

e.g try not to use BatchUpdate first. If you don't handle it, after you insert new row, try to remove the added row. It will surely return an error (incorrect id).

I see that you are using List as your strongly type custom object. I need to discuss to our developer if this is already supported or asked how to select identity in your scenario.

It would be great if you can provide a simple runable sample. So when we debug it, we can know if it returns the correct id or not.

Regards,
Handy

Hello Tim,

You could not just upgrade the project from VS2003 into VS2008 or VS2005. Migrating from old product especially from VS2003 into VS2005 or VS2008 has many changes. Some of the old method are not compatible with .Net 2.0 or higher environment.

Regards,
Handy

Hi Huzefa,

Please let me try to help you. In you attached sample, there is nothing we can do because we don't have your database. As Yudi has mentioned, based on the article, you will need to handle to select the identity when insert new record.

We have a sample in WebGrid sample called BatchUpdate_Enterprise.aspx. In child table (orders), we hanlde insert and select the identity with DoInsert method.
You can try to see the method in dsNorthwind_Extended.cs.

Hope this helps.

Regards,
Handy

All times are GMT -5. The time now is 7:29 AM.
Previous Next