User Profile & Activity

Bernard Xiang Member
Page
of 52
Posted: May 31, 2012 9:51 PM

Hi Ahmed,

 

Is it working fine now? If you have any other question please don’t hesitate to ask us.

 

Regards,

Bernard

Posted: May 31, 2012 9:51 PM

Hi Dan,

 

I’ve forward this problematic behavior to our developer team. I’ll let you know if I heard any news from the developer team regarding this issue.

We will enhanced the filtering menu in the future. Thank you for your feedback.

 

Regards,

Bernard

Posted: May 31, 2012 9:51 PM

Hi Lidia,

 

Glad to hear that you have found the problem. For me, it’s weird if the other PC doesn’t have the same problem as yours. I’ll contact the developer team about this issue from add-on.

Thank you for your valuable feedback.

 

Regards,

Bernard

Hi Michal,

 

I haven’t heard the exact date from our developer team because we still focus to release our new products in early June.

I’ll keep let you know any news about this release. Thank you for your patience.

 

Regards,

Bernard

 

Hi su su,

 

I still can’t replicate your issue in our local end. But from your information, the server-side code is not executed because you doesn’t set the event handler on design view. If you have bind the database in design view, you don't need to bind the database programmatically. From your information, I’ve made my own sample which have the same structure as yours. In my sample I use Northwind as my database and my DataSet If you don’t mind, could you edit my sample to replicate your issue in my sample? Look forward to heard any news from you so we can assist you further.

 

Regards,

Bernard

Posted: May 31, 2012 12:50 AM

Hi Ahmed,

 

I’ve look on your code. I think the problem is WebValueList setted in wrong event. On InitializeLayout event, I suggest you to not to place dynamic object or data related settings especially for object that created during the runtime. You can clear and load the WebValueList on PrepareDataBinding event. I attach my sample here. Hope it helps.

 

Regards,

Bernard

Hi su su,

 

I’ve look on your code and I didn’t see the EditType there. Where do you want to put the EditType property? For the filtering, is the WebCombo will integrated to WebGrid? If you want WebCombo’s value cannot be edited, you can do it with changing TextBoxMode property on Layout Settings to ReadOnly value. For WebGrid Column, if you want to set EditType on WebGrid, you can put it on PrepareDataBinding event. PrepareDataBinding event executed when WebGrid retrieve the column structure and create necessary object.

 

I’ve made my own sample. In my sample, I using Northwind as my project’s Database and DataSet. I also put Unbound WebCombo as Filter Type. Hope this helps.

 

Regards,

Bernard

Posted: May 30, 2012 8:39 AM

Hi Lidia,

 

Sorry for late response. Are you sure that only your PC which have error 401? Is another PC got error 401?

 

I’ve consulted with developer team. If you’re using SharePoint you must use CommonLibrary instead of SmartWebResources. Hope it helps.

 

Regards,

Bernard

Hi su su,

 

If you want to make the column can’t be edited, you can just set the EditType=”NoEdit”. But maybe in your case the EditType property is setted in wrong tag so that make the column still can be edited.

 

For the second case, I’ve made my own sample using Northwind as project’s database. You can make unbound column on bound WebGrid. But when you edit the unbound column, the value will be lost because it is not stored in database and the WebGrid refresh itself after updating process.

 

However it is possible to use unbound data in combo. I enclose a sample about how to use unbound WebCombo which integrate into WebGrid. In this case, I configure it in Discontinued column.

 

Hope this helps.

 

Regards,

Bernard

Posted: May 30, 2012 12:30 AM

Hi Ahmed,

 

I’ve look for the sample that you show above and I figured the problem is on PrepareDataBinding event. This problem occurs because ValueList is not setted when PrepareDataBinding event. To resolve this issue, you can remove the validation (if (!IsPostBack)) from PrepareDataBinding event.

 

I put the revision of the sample here. Hope it helps.

 

Regards,

Bernard

All times are GMT -5. The time now is 10:25 PM.
Previous Next