User Profile & Activity

Dicky S Support
Page
of 8
Posted: October 13, 2009 10:33 PM

I know I made some version upgrade of WebGrid and the framework for some time ago. Could it have anything to do with this?

 

Could you provide build's number of WebUIFramework (ISNet.dl, ISNet.WebUI.dll, ISNet.WebUI.Resources.dll) and also build's number of WebGrid (ISNet.WebUI.dll, ISNet.WebUI.Resources.dll) that you use?

And also have you updated the GAC (C:\Windows\assembly) when you upgrade the WebUIFramework?
Please provide me build number of ISNet.ActiveReports.Exporting assembly that registered on your GAC. (Right click->Properties->Go to tab Version)

Posted: October 13, 2009 5:01 AM

HI Staffan,

I can't reproduce the issue here. Have you tested our WebGrid sample page named ProgrammaticExportClientside.aspx? I tested the issue using that sample and set export type to PDF. Everything is okay here. Have you installed PDF application on your computer?


Best Regards,

Dicky

Posted: October 13, 2009 2:10 AM

I have 2 more question with same topic.

1. If the grid would require more than one columns with drop down type, do i need that many number of web combo in page?

2. Currently web grid column with web comb shows "DataValueField", please give me the method to show "DataTextField".

Thanks again.

 

1. If drop down type that you mean is using WebCombo then the answer is yes, but if you are using integrated dropdropdown menu built-in WebGrid then you don't need to add any control for it, because it is already built-in on WebGrid.

2. You need to use WebValueList to fulfil your scenario. If you check on my sample you will find if I also add WebValueList after I set WebGridColumn EditType with WebCombo.


Feel free if you have another question.

Best Regards,

 

Dicky

Posted: October 12, 2009 11:31 PM

Hi Jim,

As James said, WebGrid 7 should supports XHTML doctype. Do you find an issue on WebGrid 7 with XHTML doctype?

About whether you can get WebGrid 7 for free, it is depend on your order type. If you bought subcription and your subscription date still valid then you should able to get WebGrid 7 for free.

 

Best Regards,

Dicky

Hi Dasha,

Okay, I understand your situation. I've created work item for you, but this is included as a task for our dev team. The taskID is 439. Thanks for your feedback.

Best Regards,

Dicky

Posted: October 12, 2009 3:47 AM

Hi Chetan,

If I check on your code sample, you made an incorrect way to bind the WebGrid. You should use OnInitializeDataSource event in order to bind data to WebGrid. And also I'm not sure where you assign WebValueList for Column #2 and set the WebCombo EditType but you should assign it onPrepareDataBinding event.

I have created a simple sample for you [using northwind.mdb] and I hope this can helps you to figure out the issue. Please find attached sample named WGIntegratedWC.zip.

Best Regards,

Dicky

Posted: October 12, 2009 2:44 AM

Hi,

Unfortunately it is not supported yet, for now it is supported for integer datatype or other numbered datatype. The explanation is, everytime user creates an event in WebScheduler, the event will be saved in database and identity of the new record added will be passed back to server.
The identity will be used for editing and deleting event in WebScheduler, if you use data with string datatype the database can't return identity which can cause an error while editing and deleting event.

Maybe you can explain why you need to use string rather that to use integer datatype? Maybe there is some workaround for it.

Best Regards,

Dicky

 

Posted: October 12, 2009 2:37 AM

Hello Chetan,

Thank you for your interest with our product. You can try to set it onPrepareDataBinding event instead of OnInitializeLayout, and here the code snippet:

if(!IsPostBack)

{

WebValueList v1Items = WebGrid1.RootTable.Columns.GetNamedItem("CustomerID").ValueList;

v1Items.DataSource = daCustomer.GetData();

v1Items.DataMember =
"Customers";v1Items.DataTextField = "CompanyName";v1Items.DataValueField = "CustomerID";

 

WebGridColumn colCustomer = wgPhase.RootTable.Columns.GetNamedItem("CustomerID");

colCustomer .EditType = EditType.WebComboNET; colCustomer .WebComboID =

EditType.WebComboNET; colCustomer .WebComboID = "wcCustomer";

}

Hope this helps.

 

Best Regards,

 

Dicky

Posted: October 9, 2009 5:42 AM

Hi Huy,

Unfortunately WebScheduler doesn't support that scenario. It will make the data is not consistent since the color will change everytime the WebScheduler opened or refreshed. Evenmore if user using export feature it can bring to another issue, which is the export result will not consistent. I believe save that color property in database will not take a big effort and space.

Hope this helps.


Regards,

Dicky

Posted: October 9, 2009 2:25 AM

Hi Huy,

Could you explain more detail about your question? So far that I got from your statement, you don't want to save CategoryColor and ResourceColor in table Category and Resource but you want the scheduler generated the color automatically when WebScheduler is run. Is that what you mean? If yes, it means that the color will be changes everytime WebScheduler is refreshed?

Best Regards,

Dicky

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