or


SqlDataReader
a = GetCustomerApplications.ExecuteReader();
this.RadApplicationsListBox.DataSource = a;
this.RadApplicationsListBox.DataBind();
It appears any application with multiple spaces in the string will be stripped down to a single space.
example:
value in the database: "Test Aplication"
as displayed in list box: "Test Aplication"
Has anyone come across this? Or any other anomalies in the rendering of values in the listbox that we need to account for?

| <script language="javascript" type="text/javascript"> |
| function ValidateNumber(txt) { |
| alert("Entries must be numeric!"); |
| } |
| [WebMethod] |
| public static Telerik.Web.UI.Resource GetResource() |
| { |
| Telerik.Web.UI.Resource r1 = new Telerik.Web.UI.Resource("Employee", "100", "Frank Sminth"); |
| return r1; |
| } |
| $("#AddResource").click(function() { |
| var scheduler = $find("<%=RadScheduler1.ClientID %>"); |
| if (scheduler == null) alert("No Control"); |
| $.ajax({ |
| type: "POST", |
| url: "Default.aspx/GetResource", |
| data: "{}", |
| contentType: "application/json; charset=utf8", |
| dataType: "json", |
| success: function(r1) { |
| scheduler.SchedulerResourceCollection.add(r1); |
| scheduler.Rebind(); |
| alert("OK"); |
| } |
| }); |
| }); |
| [WebMethod] |
| public static Telerik.Web.UI.ResourceCollection GetResource() |
| { |
| Telerik.Web.UI.ResourceCollection rc = new Telerik.Web.UI.ResourceCollection(); |
| Telerik.Web.UI.Resource r1 = new Telerik.Web.UI.Resource("Employee", "100", "Frank Sminth"); |
| rc.Add(r1); |
| return rc; |
| } |
| $("#AddResource").click(function() { |
| var resource = new Telerik.Web.UI.SchedulerResource(); |
| var scheduler = $find("<%=RadScheduler1.ClientID %>"); |
| if (scheduler == null) alert("No Control"); |
| $.ajax({ |
| type: "POST", |
| url: "Default.aspx/GetResource", |
| data: "{}", |
| contentType: "application/json; charset=utf8", |
| dataType: "json", |
| success: function(rc) { |
| scheduler.set_resources(rc); |
| alert("OK"); |
| } |
| }); |
| }); |