User Profile & Activity

Adrian Cunningham Member
Page
of 3
Posted: October 29, 2009 6:20 AM

Handy,

I've not had a response on this one yet, is it possible to hide entire ColumnSets using Client Side API?

Each of the ColumnSets has 5 columns which are built dynamically from the data, so a combination of two ID fields make up the column name.

For example I have a "Line of Business" check box list and  a "Peril" Check Box List, if the "Line of Business" check has "Residential" (which has ID Value 9) selected and the "Peril" check box has "Wind" (ID value of 1) the column name in the ColumnSet will be "1-9". 

In this scenario I want to hide all all "Peril" columns with a value of "Wind" (9) in all Line of Business ColumnSets.


Is it possible to hide a single column client side?

Regards,

Adrian.

Posted: October 29, 2009 6:06 AM

Glen,

The problem isn't so much with the DayEvents-Onclick event, it is with trying to retreive a value from the control with any event from any function, even from the controls that didn't trigger the event.

Also, I am setting the values of the Date Controls in the Code Behind page, not in client side script so when the controls display they show the correct values, I simply can't retrieve them with your API.

I modified my Sample the use the "OnAfterValueChanged" event, and I still cannot get any value from any of the three date controls.

However, if I move the same controls to a standalone ASPX both, both versions that I have supplied work fine, so to me this is a bug.  So if this is "by design" how come the same code works differently in a  a StandAlone ASPX page.  Sample is attached, have a look at the "StandAloneWebInput.aspx" page which works just fine with the same code, however inside a Master Page, user control, it does not work.

In this sample I have provided I have even tried to call the UpdateDates method from the "body.Onload" event. 

I have also tried looking at the script in the debugger, the WebInput control simply does not return the value unless you use the initial workaround I supplied.  


Regards,

Adrian.

Posted: October 27, 2009 7:15 AM

Handy,

I want to hide the ColumnSet including all columns within the Column Set.

Regards,

Adrian.

Posted: October 22, 2009 10:52 PM

Hi,

Additional to my original post I've tried to process my changes from the WebGrid manually.  Each row contains over 40 columns of data, some visible some hidden.

Using BatchUpdate I've made several edits to several differnt  cells on the same row, but when I iterate through the "PendingChanges" not all of the cell edits I made on the grid are actually present.

In some scenarios I'll edit a single value cell on one row and when I try to process that Cell in the batch update method, the actual cell is NULL.

Any ideas?

Regards,

Adrian.

Posted: October 5, 2009 9:45 AM

Hi,

The browser we use for our app is IE7.  In trying to diagnose this problem I've used Visual Studio to debug server and client side code, and each time an IE hang occurs there is no code being hit. 

Currently I'm at a loss as to why this happens.

Adrian.



Posted: September 23, 2009 9:30 AM

I figured out the issue. 


Needed to set the "Copy Local" property on the referenced DLL's to "True".



All times are GMT -5. The time now is 1:46 AM.
Previous Next