First we need to create a template for our custom control.
In this template I will put the following controls: In this template I subscribed for the On Client Load event of Rad Combo Box control.
To work with complex or user-defined parameter types, you can use the property.
In your business object, creating methods with long parameter lists that map control values one-to-one to data store values can result in code that is not easily reusable.
Again, same exception gets thrown, but coming from withing the instantiated class itself.
The Get Orders function inside of Customers requires an instance of a connection, but you disposed of the required objects required to access the database back up in Load Data() when you called a. Be careful when you clean up your instances, that you are not using them again somewhere.
As some of the providers like Generic Content and Wiki have different metakeys for the "Title", I had to dynamically change the Grid Bound Column value inside Grid's Pre Render event handler and then rebind the grid.
it does not update database, just marks rows in datatable that shows they are changed and ready to be reflected to db...
When you create methods in a business object, you must ensure that the parameter names and types accepted by the business object method match the parameter names and types that the collection; and so on.
Every once in awhile, you come across this exception: System.
Null Reference Exception – “Object reference not set to an instance of an object.” You see people asking about this everywhere; about why are they getting this error. Note, regardless of the scenario, the cause is always the same in .
You can remove the provider from the list if you add a condition inside the "if" check in the GCProviders method, like: if (provider ! Here I set the path to my template which has Rad Grid, Rad Combo Box, Rad Ajax Manager Proxy and Rad Ajax Loading Panel declarations.
I created a new property for the provider name which gets the value from the Rad Combo Box Selected Item.