Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
730 views
Hi,

I was wondering if it is to possible to make some "advance" formatting on a GridBoundColumn. In fact, I want to show a number with always and only one digit (ex : 197,1 - 197,0 - 197,8). The best I come to is to show a digit if this digit isn't a 0 (so, it look like 197,1 - 197 - 197,8). I try with a GridNumericColumn,but no luck. So, here is my code 

<telerik:GridBoundColumn DataField="test" HeaderText="test" UniqueName="test"
DataFormatString="{0:$###.#}" />

Is anyone may help me please ?

Thank you,
David

PS: I'm now wondering if it is a better solution if I just override the DataFormatString propriety, cause I'm now using a override GridTemplateColumn, so I will just have to plug the override propriety in. So, if anyone know how to correctly override DataFormatString, please let's me know how.
David
Top achievements
Rank 1
 answered on 13 Jul 2011
1 answer
90 views
When we click on a file - a new window opens up.  How do we set the title on that page?

Thank you very much.
Rumen
Telerik team
 answered on 13 Jul 2011
2 answers
121 views
I have a RadGrid that has two RadDatePickers.  There is a start and end date RadDatePicker. 

How can I validate that a user must pick an end date is greater than the start date.
Mike
Top achievements
Rank 1
 answered on 13 Jul 2011
1 answer
103 views
Hello,

I am trying to edit data in a RadGrid by using RadWindow.  I have been using the demo Window/Edit Grid For RadGrid as a sample.  The code appears to be working except that the record that is edited is the first record from the table, not the one I have selected to edit.  Where i am failing is that I am not able to the cell values from the grid source which correspond to the primary key from the query string as mentioned in the demo.  How is this done?

Scott
Vasil
Telerik team
 answered on 13 Jul 2011
2 answers
127 views
Hello!

I am using a RadComboBox with automatic load on demand from an ObjectDataSource, using a "contains" filter to fetch matching records from the datasource. It works very well, with one exception. If I load the page, than leave it in the browser for ten minutes or so, and then try again, the combobox is stuck in the "loading" state, and stays there permanently. If I reload the page again, everything works fine again.

I've tried upping the session timeout but that had no effect on the issue. I would be grateful for help on this.

Best regards,
Kalle
Kalle
Top achievements
Rank 1
 answered on 13 Jul 2011
1 answer
98 views
I have 3 cascading combo boxes which may be populated when the page loads based upon request string item values or they may be populated by the user on the client side.

Because of this "dual personality", I am trying to "clear" the events on the combo boxes at page_load in case any of the combo boxes are loaded based on the incoming request string.  Then I want to restore the events as my code exits page_load (I hope this is the correct way of handling this problem).

The three (3) combo boxes are defined as:

<asp:TableRow>
<asp:TableCell>
<asp:Label ID="Label1" runat="server" Text="<% $GetLangString:NewTrans.InThisCountry %>"></asp:Label>
</asp:TableCell>
<asp:TableCell>
<telerik:RadComboBox ID="SearchCountry" TabIndex="5" style="z-index: 9000;" Width="200px" EnableEmbeddedSkins="true" Skin="Sitefinity" runat="server" Height="150px" OnClientSelectedIndexChanging="LoadSearchStateProv">
</telerik:RadComboBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>
<asp:Label ID="Label3" runat="server" Text="<% $GetLangString:NewTrans.InThisState %>"></asp:Label>
</asp:TableCell>
<asp:TableCell>
<telerik:RadComboBox ID="SearchStateProv" TabIndex="6" style="z-index: 9000;" Width="200px" EnableEmbeddedSkins="true" Skin="Sitefinity" runat="server" Height="150px" OnClientSelectedIndexChanging="LoadSearchCity" OnClientItemsRequested="SearchItemsLoaded" OnItemsRequested="SearchState_ItemsRequested">
</telerik:RadComboBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>
<asp:Label ID="Label4" runat="server" Text="<% $GetLangString:NewTrans.InThisCity %>"></asp:Label>
</asp:TableCell>
<asp:TableCell>
<telerik:RadComboBox ID="SearchCity" TabIndex="7" style="z-index: 9000;" Width="200px" EnableEmbeddedSkins="true" Skin="Sitefinity" runat="server" Height="150px"  OnClientItemsRequested="SearchItemsLoaded" OnItemsRequested="SearchCity_ItemsRequested"></telerik:RadComboBox>
</asp:TableCell>
</asp:TableRow>

My problem is this...on the display page (pagename.aspx), the second and third cascading combo boxes have values entered for the "OnItemsRequested" event. But when I try to "clear" this value in the server side code at page_load I keep receiving a compilation error on the event.  You may refer to the attached screen capture that shows the error.

Why is this event property inaccessible on the server side?

Thanks in advance!

Lynn

Dimitar Terziev
Telerik team
 answered on 13 Jul 2011
1 answer
114 views
Hi

RadUploadAttachment.AllowedFileExtensions =

 

new string[] { ".zip", ".jpg", ".jpeg" ,".pdf",".txt"};

 


i upload jpg & pdf & zip 

RadUploadAttachment.InvalidFiles.Count=2

 

RadUploadAttachment.UploadedFiles.Count=1

why RadUploadAttachment.InvalidFiles  is 2 ?
thanks so much

Kevin
Top achievements
Rank 2
 answered on 13 Jul 2011
2 answers
131 views
hi,
 i have a crash of visual studio after installing telerik trial version, can you help me please! i reinstall it many times but it doesn't work? thx.
Erjan Gavalji
Telerik team
 answered on 13 Jul 2011
1 answer
80 views
Hi im using combo box control in a user control and adding items to the control but when i click on menu item of the control it is not showing the dropdown menu and the same thing is happening to the calendar control.please let me know if i am missing anything over here?
Kalina
Telerik team
 answered on 13 Jul 2011
3 answers
371 views
Hi,

is it possible to disable resizing option with Rad Editor - HTML mode ?  I have attached a screen shot for reference.

Thanks
Venkat
Rumen
Telerik team
 answered on 13 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?