User Profile & Activity

Handy Surya Support
Page
of 223
Posted: September 14, 2010 10:59 PM

Hi Darren,

Ok, We will continue at email. Thank you.

Regards,
Handy

Hello,

You could not do that way because you do FullPostBack. When you edit a cell and click the button to postback, WebGrid has not saved the data yet. So, it would revert back into the old data after PostBack.
You need to shift+enter before clicking on the button.

The possible way is doing this in client side/ javascript.

Regards,
Handy

Posted: September 13, 2010 11:16 PM

As you can see in my video, It should be appeared when you use batch update mode.
There should be nothing like you said. All pending changes should be have flags.
Or if you delete the new added row, the row should be dissapeared at once.
So, Would you mind just send me your simple runable sample that showed the situation that you described?

Regards,
Handy

Posted: September 13, 2010 11:00 PM

Hello,

As default, NewRowEdit type has the same type with editType. However, it is only 6 options available. 
If you want more options availble, you can post it as a feature request.
But normally, when user want to have WebCombo in new row, they just also set edit type into WebCombo.
They seldom use different type in their new row.

Regards,
Handy

Posted: September 13, 2010 10:21 PM

Hello Darren,

Please let me know your contact email. I think we will need to remote into your environment machine regarding this issue.

Regards,
HAndy

Posted: September 13, 2010 3:25 AM

As I said before, it is our default behaviour in BatchUpdate.
When you delete, it will also show you some flags.
Please see my recording video. I don't understand why you did not notice the different in the UI.
It should be easy to see.

However, if you want, you can hide it by set display style to none in the element.

e.g 

grid.GetSelectedObject().ToRowObject().GetElement().style.display="none";

 

Regards,
Handy

Posted: September 12, 2010 11:38 PM

Hello Shawn,

If you are using BatchUpdate scenario, all the changes should be indicated with flags or indicator.
E.g Delete with delete icon, which the row should be not bot removed from Grid until It accept the changes. It's already the behaviour.
If you want just remove the row from WebGrid instantly, you should not use BatchUpdate scenario.

Regards,
Handy

Ok, I will let you know when it has been fixed.

Regards,
Handy

Hi Eric,

If you want to add an image handler that way, it would be hard to achieve.
It is easier, if you add a WebGridColumn with Button image type. There is already click event hadler from WebGrid.

Regards,
Handy

Posted: September 10, 2010 3:18 PM

Hello,

Do you use CommonLibrary instead of SmartWebResources? When you are using WebGrid 7. it should be pointed into WebGrid 7 scripts. 
Based on your infromation, it was already correct path. However, I don't know if it was WebGrid 7 script or not. Did you copy WebGrid 7 scripts in development into that path?
I suggest you to use SmartWebResources because it is easier to use.

Regards,
Handy

All times are GMT -5. The time now is 6:55 PM.
Previous Next