CustomEditor Implementation

7 replies. Last post: February 10, 2010 2:32 AM by Handy Surya
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Andrey BelikMember

Hello,

I would like to create my own CustomEditor, which would be a text box with maxLength set up (the maximum length of the entered text). The maxLength will be different for each row, based on the value of the MaxLength column of the datatable.

I know that there is the TextboxMaxlength property on the WebGridColumn but that sets up the max length same for all the cells in that column.

Some questions:

1) Is there a way how I can set up cell validation or at least the max length manually, per each editable cell?

2) If I create a custom editor as described here http://www.intersoftpt.com/Community/WebGrid/Any-examples-of-Server-control-custom-editors

it requires copying some stuff to C:\Program Files\Intersoft Solutions\WebUI Studio for ASP.NET\CommonLibrary\WebGrid\V7_0_7200\CustomEditors

Since we are deploying to a hosted environment, it is not an option; we will not have access to that folder. 

Is there a way how to deploy the custom editor that I create, to a hosted environment?

Thanks in advance!

 

 

All times are GMT -5. The time now is 11:18 AM.
Previous Next