User Profile & Activity

Handy Surya Support
Page
of 223

Hello,

I am very sorry because I forgot to attach DataSet5. However, to set the other DropDownList, you can use SetText in the WebGrid cell. It will assign the text and when you dropdown, it will always notice its value/text.
Based your explanation, I think it is not possible in WebGrid. WebGridColumn can only be assigned one datamember at once.

Regards,
Handy

Hello Mark,

For DateTime scenario, please try not to use string. GetValueData() only can be used for DateTime object in this scenario. This happens because you use Format Date in this scenario.

e.g

If you assign the Date object in WebInput1 such as :

            var currentTime = new Date();
            currentTime.getDate();
            el.SetValueData(currentTime, true);

When you use GetValueData(), it will show the value.

Regards,
Handy

Hello,

Yes, the scenario is possible. Please run my attached sample. However, the sample needs a workaround by using attach event.
I would prefer if you use WebCombo instead of DropDownList. By using WebCombo, you can access all the events. Hope this helps.

Regards,
Handy

Hello Mark,

The method needs additional parameters (boolean).

E.g

                    el.SetValueData(txt.value, true);

It should work. Hope this helps.

Regards,
Handy

Hello Al,

Do you deploy in IIS 7 environment? If yes, please refer into thin link. Also, If you don't mind, would you send me a simple project that replicates this issue? We need this to investigate your issue.

Regards,
Handy

Hello,

WebGrid hierarchical only can be created with ISDataSource or bind via dataset. However, if you want to use another way such as Unbound way, I am afraid you could not do this for your scenario.
Unbound is designed just for viewing the data. It is not designed for insert, update and delete.
You try to look for our WebGrid unbound (without hierarchical). If you do any flypostback request such as refresh,sorting or filtering, it will raise an error.

Regards,
Handy

Posted: November 18, 2010 1:54 PM

Hello Shah,

Our developer teams have fixed this issue. Also, We are planning to release hotfixes in the couple of days.

Regards,
Handy

Posted: November 18, 2010 11:26 AM

Hello,

You can use enable caching at the page level, by setting the EnableCaching to true.
The page still needs to be created for the first time. But subsequently, it will load from cache, so it'll be faster.

E.g
MainPage>>UXFrame
UXPage1>>NavigationCacheMode="Enabled" (at page level)

When navigating to UXPage1, it will be loaded from cache if it has been navigated before.
FYI, Using cache can increase memory usage (since it's kept in memory due to the cache).
Hope this helps.

Regards,
Handy

Hello Indah,

Would you mind to provide a simple working sample that shows how do you bind your Hierarchical WebGrid? We also need to know what did you mean by explisit data source?

Regards,
Handy

Hello,

Please let me know the step by step to replicate your issue. I think some of your project/application settings might be caused this issue.
Please refer into below links for more information. Hope it helps.

http://social.msdn.microsoft.com/Forums/en/vstswebtest/thread/0f143e24-65e7-4f44-8d64-a8f920f410af

http://forums.asp.net/t/1166634.aspx

http://blogs.msdn.com/b/tom/archive/2008/03/14/validation-of-viewstate-mac-failed-error.aspx

Regards,
Handy

All times are GMT -5. The time now is 8:20 PM.
Previous Next