That is very unproductive.
Anyway, right now I am trying to solve a simple thing. I am using "InPlace" editing in the grid and a simple GridBoundColumn. When switched to the edit mode, the edit box size is much smaller the the width of my column. How do I control this in ASPX file?
3 Answers, 1 is accepted
To set the textbox width of the GridBoundColumn when it is in edit mode, you can either use the following code:
| protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e) |
| { |
| if ((e.Item is GridEditableItem) && (e.Item.IsInEditMode)) |
| { |
| GridEditableItem edititem = (GridEditableItem)e.Item; |
| TextBox txtbx = (TextBox)edititem["ColumnUniqueName"].Controls[0]; |
| txtbx.Width = Unit.Pixel(100); |
| } |
| } |
Or you can set column editors for various columns and set their styles declaratively. Refer to the following help document for more information:
Declarative style editors
Thanks
Princy.
I added GridTextBoxColumnEditor to my GRID and right the way I am getting the following errors:
Warning 1 Element 'GridTextBoxColumnEditor' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing.
Warning 2 Generation of designer file failed: Type 'Telerik.Web.UI.RadGrid' does not have a public property named 'GridTextBoxColumnEditor'.
I noticed the the online documentation has more information than downloadable Windows help files. For example, my "telerik.aspnetajax.radgrid.2009.Q2.chm" doesn't contain API Reference which is visible online. But online help is not always most suitable and confortable to use.
Why can you post PDF formatted FULL HELP files for user downloading?
Hello Christopher,
Commenting on this though this is very old post. I am also frustrated with the documentation and examples of Telerik Rad controls. By making brief documentation, training videos are not useful for self learning or not existing at all, Telerik team idea is to make us or forcing us rather, to depend on their support team and continue to buy support package every year and make money. Though I am very new to Telerik at this level I would not recommend the product to fellow developers.
Thanks
Bheem Rao
Hi Bheem,
Thank you for your honest feedback!
I had the pleasure to work together with you on several Support Tickets and judging by the ratings, I came to the conclusion that my answers were helpful and fulfilled your request. I don't like to jump to conclusions early, but I thought that you are actually happy with the support.
Please know that we're always open to suggestions, feedback, ideas that you or anybody else has regarding the documentation or Telerik Components. With your help, we can improve the quality of the docs, and make everything better. We just need more details to help us identify those problems and be able to fill the gap.
May I suggest that you submit a "General Feedback" and share the Documentation Sections that are confusing or have insufficient information?
Also, the Telerik Documentation is maintained on GitHub at telerik / ajax-docs, and another way to help with the improvement is to submit "Change/Pull Requests". Or you may share your feedback directly through the Documentation Page you are Reading at the moment.
Would you mind sharing what difficulties are you experiencing or what has caused the frustration? Have you searched for relevant documentation and it does not exist, is hard to find, or encountered an example that is difficult to understand or apply in reality?
Any feedback would be much appreciated.
Hi Attila,
Thanks for your prompt response.
I have no problems faced while I raised a support ticket and I got the solution from you promptly. You rightly said so far I am happy for the support from you when I raised a ticket. But Telerik new users like I am, need good learning stuff with examples which help developers to get the job done quickly instead of raising a support ticket and wait for 1 man day.
I am not able to find perfect solution when searching for certain requirement for most of the things so far I needed got the solution from support team, but did not find solution with examples online. May be the content is already available but it is very hard to find out.
For example currently I searching for solution / example with code snippet to create 3 level hierarchical RadGrid using OnNeedDataSource, OnDetailTableDataBind with all CRUD operations in code behind, but no luck. Even I did not find whether this is possible or not. May be again I have to raise a ticket for the same. Raising a support ticket should be last option but I had to raise the ticket for almost everything. For beginner it would be better if comprehensive learning stuff is provided online.
Regards
Bheem Rao
Hi Bheem,
Thank you for your feedback! Indeed there is no Example for every possible scenario. Generally speaking, the documentation only shows the usage of the APIs with a few examples and the most common scenarios. Every other scenario is specific to the project the developer is working on.
Nevertheless, we can create an example that implements the Manual CRUD operation on a 3 level hierarchical Grid and share it in our Knowledge Base section.
In the meantime, I would be grateful if you could share your input on which part of the Hierarchy was unclear and our documentation did not address. We will try to identify the missing information and add it to our docs.
I look forward to hearing from you.
Hugh