This is a migrated thread and some comments may be shown as answers.

RadGridView column with fullstop

3 Answers 47 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Balaji
Top achievements
Rank 1
Balaji asked on 18 Oct 2013, 02:01 PM
Hi,
  
I am using radgridview in a project.   If the column contains fullstop ( '.' character) then the value is not getting displayed for that column though the value is saved in database.
  
Is there any workaround to resolve this issue?
  
Thanks
Balaji

3 Answers, 1 is accepted

Sort by
0
erwin
Top achievements
Rank 1
Veteran
Iron
answered on 19 Oct 2013, 07:57 AM


I'm assuming by 'if the column contains fullstop' you are referring to the column name.



IMHO, the "workaround" is not to use '.' within a column name.


Depending on what you are doing (databinding, loading from a database etc) the '.' has a special meaning qualifing a column.

You run into all kinds of weird escaping problems when you want to maintain column names containing a '.' in a database and

through different database access technologies.

You can always set the column header to a different string than the column name.



If that's not covering your problem, you have to give us more Information on what you are doing.



Regards

Erwin

0
Balaji
Top achievements
Rank 1
answered on 19 Oct 2013, 06:42 PM
Hi Erwin,
 
Thanks for your information.  As we are creating columns dynamically we had used the text (from DB) for both headertext as well as column name.  It would be better to filter the text and assign the column name separately.
 
As you said avoiding "." is the correct solution.
 
Regards
Balaji

0
Stefan
Telerik team
answered on 23 Oct 2013, 06:38 AM
Hi guys,

I also agree that avoiding the fullstop is the right way to go.

@Erwin, your Telerik Points have been updated for the community effort.

Regards,
Stefan
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
GridView
Asked by
Balaji
Top achievements
Rank 1
Answers by
erwin
Top achievements
Rank 1
Veteran
Iron
Balaji
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or