User Profile & Activity

Handy Surya Support
Page
of 223
Posted: November 2, 2010 10:41 PM

Hello Dave,

Ok, could you please send me a simple sample that replicates this issue? I will try modify it for you. It seems the structure of WebGrid is different from mine. I need to check if some information can be used for your scenario. Thank you.

Regards,
Handy

Posted: November 2, 2010 10:17 PM

Hello,

That will also work. As default, when you use script only for the resources, all the images would be loaded from CommonLibrary (virtual directory).
However, if you want to use your own image folder, you can add the folder into your project and specify the path in ImageDirectory properties.
Please ensure you specify the correct relative path.

Regards,
Handy

Hello,

Please follow the instruction in this link.

Hope this helps.

Regards,
Handy

Hello Yousif,

Based on my discussion with our developer teams, they agreed to add a new properties as you suggested. But it would not be serialized in client side. You can only get the stored objects in server.

Regards,
Handy

Posted: November 2, 2010 4:38 AM

Hello Eric,

I am sorry for the late response. I think you were missing to apply sorting for the child level.
In selfReference, you could not apply the normal sorting. You would need to ApplyChildSorting properties in selfReference scenario.

e.g in grdResult_Init, please add this following settings.

  grdResult.RootTable.SelfReferencingSettings.ApplyChildSorting = True

Hope this helps.

Regards,
Handy

Posted: November 2, 2010 2:29 AM

Hello,

The fix is not included in SP1. Please try the attached hotfix.  You should able to run without those error with this hotfix. FYI, this is a nightly build (disclaimer: on). Please let us know any feedback or issue when using this hotfix.

Regards,
Handy

Posted: November 2, 2010 12:39 AM

Hello Dave,

It is always null because, the row does not have parent. It is a group row. If you inside a child group row, you can get the group row with using ParentPos.

e.g

var pos= grid.GetSelectedObject().ToRowObject().ParentPos;
grid.RootTable.GetGroupRows()[pos].GetGroupChildRows();

 

Regards,
Handy

Posted: November 1, 2010 10:37 PM

Hello,

You can get all the keycode by calling alert at OnEditKeyDown event.
alert(event.keyCode);

Regards,
Handy

Hello,

Yes, our developer can enhance this. But they afraid that there would be an issue when you serializing/deserializing to client. Are you sure to have this enhancement?

Regards,
Handy

Posted: November 1, 2010 4:42 AM

Hello Dave,

I think you can do this scenario. You need to validate it in OnEditKeyDown clientside event. check the keycode and ExitEditmode, then select nextcell and activate the edit.

Here is the code to exit edit mode and select and activate edit.

grid.ExitEdit(1, 0, 0);

grid.GetSelectedObject().ToRowObject().GetCells()[index].Select();

window.setTimeout(function () { grid.GetSelectedObject().ToRowObject().GetCells()[index].ActivateEdit(); }, 300);

function () { grid.GetSelectedObject().ToRowObject().GetCells()[index].ActivateEdit(); }, 300);

However, this scenario is not recommended. Use arrow keyboard to go next cell in edit is already change its behaviour. User would hardly to type in certain letter in edit mode. They can navigate into the letter by using mouse which is a little weird in edit text.

Regards,
Handy


All times are GMT -5. The time now is 12:40 AM.
Previous Next