or
Telerik.Web.UI.RadFilterNumericFieldEditor testNum = new Telerik.Web.UI.RadFilterNumericFieldEditor(); testNum.FieldName = "OrderID"; testNum.DataType = Type.GetType("System.Int32"); RadFilterQueryFilter.FieldEditors.Add(testNum); However, when I execute, the field is not visible on the field list. What I am missing?
Microsoft JScript runtime
error: Sys.WebForms.PageRequestManagerServerErrorException: is neither a DataColumn nor a DataRelation for table DefaultView.
Hello,
I have a problem in changing the RotatorScrollDirection using c# code
Here is the code, I'm using:
switch (scrollDirection) { case "Down": rotator1.ScrollDirection = RotatorScrollDirection.Down; break; case "Left": rotator1.ScrollDirection = RotatorScrollDirection.Left; break; case "Right": rotator1.ScrollDirection = RotatorScrollDirection.Right; break; case "Up": rotator1.ScrollDirection = RotatorScrollDirection.Up; break; }Is there any way to convert the string to object in order to prevent using the "switch" or "if" statements? for example, convert the string "Right" to the object "RotatorScrollDirection.Right"
Please, I need your help,
It is appreciated to send me the modified code.
Regards,
Bader