Telerik Forums
UI for ASP.NET AJAX Forum
10 answers
148 views
Where are the actual ascx files of the Built-in Dialogs? I want to edit some but those one are not actual (e.g. StyleBuilder)

http://www.telerik.com/support/kb/aspnet-ajax/editor/opening-a-custom-dialog-instead-of-documentmanager-from-within-linkmanager.aspx
Henrik
Top achievements
Rank 1
 answered on 10 Jun 2011
15 answers
867 views
I'm binding to a DataTable using the RadGrid and set to AutoGenerateColumns
but I need to add a dropdown list to each cell.
I can't use the "template columns" to create the dropdown because the column name could change from day to day.
 
The function I really would like is when a cell is clicked on it would switch to a dropdown.
 
If you have an example of this it would be fantastic.
Iana Tsolova
Telerik team
 answered on 10 Jun 2011
3 answers
218 views
Hi,

I'm having some problems with layout. I have a master form with script manager and formdecorator on it (set to all controls)
On a standard webform page, a master child, i have some RadTextboxes and RadComboboxes. 

Why is it that the RadTextbox has square corners and the combobox has round corners? (see image in att)

Skin Windows 7, VS2010, .NET 4, VB.NET.
All based on the "helpdesk application" example

Regards,

Erik
Vasil Yordanov
Telerik team
 answered on 10 Jun 2011
3 answers
182 views
I have a template column in a radgrid, with a radiobuttonlist and I put on a validator.  Problem is the setfocusonError does not set focus on the validator.  My grid has about 40 records so sthey are at bottom clicking on the submit button thinking its not working when in fact they have a validation error.  How can i fix this so that it focuses on the validation error.

<telerik:GridTemplateColumn HeaderText="GO \ NOGO \ Not Fixable" ItemStyle-HorizontalAlign="Center" HeaderStyle-Width="210px">
                                                                        <ItemTemplate>
                                                                            <asp:RadioButtonList ID="rblDental" runat="server" RepeatDirection="Horizontal" TextAlign="Right" Font-Size="Smaller" RepeatLayout="Flow">
                                                                                <asp:ListItem Value="0" Text="GO&nbsp;&nbsp;&nbsp;" />
                                                                                <asp:ListItem Value="1" Text="NO\GO&nbsp;&nbsp;&nbsp;" />
                                                                                <asp:ListItem Value="2" Text="N\F" />
                                                                            </asp:RadioButtonList><br />
                                                                            <asp:RequiredFieldValidator ID="valDRadio" runat="server" ControlToValidate="rblDental" ErrorMessage="Not Answered" ForeColor="Red" ValidationGroup="Dental" SetFocusOnError="true" />
                                                                        </ItemTemplate>
                                                                    </telerik:GridTemplateColumn>
Iana Tsolova
Telerik team
 answered on 10 Jun 2011
1 answer
105 views
Hello 
i configurated the ajax 
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Euroamerica"   EnableEmbeddedSkins="False">
</telerik:RadAjaxLoadingPanel>
in mozilla firefox works correctly, but in internet explorer 8 not. 
i don´t know what happen here... i need your help.
the code is this in radajaxmanager 
 <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
                <AjaxSettings>
                    <telerik:AjaxSetting AjaxControlID="UpdatePanel1">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="UpdatePanel1" LoadingPanelID="RadAjaxLoadingPanel1" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                </AjaxSettings>
            </telerik:RadAjaxManager>
thk
Pavel
Telerik team
 answered on 10 Jun 2011
1 answer
118 views
Hi,

i have radgrid which is bind programmatically and have the groupexpression in radgrid.
i am exporting to excel but i want to highlight the cell of groupexpression with some color when export to excel.
how can i do this.
please help.

Thanks.
Shinu
Top achievements
Rank 2
 answered on 10 Jun 2011
1 answer
118 views
Do you know how to change the Headers in my Details Tables based on a DataKeyValue in my MasterTable?

This does a great job changing the header in the ItemDataBound Event but I can't seem to retreive the DataKeyValue in the Master Table.  When I go to expand and error is thrown.

grdMSC.MasterTableView.DetailTables[0].Columns[1].HeaderText = "Equipment";

 

 

grdMSC.MasterTableView.DetailTables[0].Columns[2].HeaderText = "Vendor";

 

Shinu
Top achievements
Rank 2
 answered on 10 Jun 2011
5 answers
285 views
Hi,

I have two GridDateTimeColumns in a telerik grid--one the start date and other the End date. Now I want a 3rd column which would calculate the difference between the 2 columns.


 <telerik:GridCalculatedColumn Aggregate="Custom" DataType="System.TimeSpan" DataFields="DATE_EXPIRED,TRIAL_REQUEST_DATE" Expression="{0}-{1}"  UniqueName="column"></telerik:GridCalculatedColumn> 
                          
<telerik:GridDateTimeColumn DataField="DATE_EXPIRED" DataFormatString="{0:d}"  HeaderText="Expired" UniqueName="DATE_EXPIRED" ></telerik:GridDateTimeColumn> 
 
<telerik:GridBoundColumn DataField="TRIAL_REQUEST_DATE" HeaderText="Requested" SortExpression="TRIAL_REQUEST_DATE"  DataFormatString="{0:d}" UniqueName="TRIAL_REQUEST_DATE">   
 </telerik:GridBoundColumn> 


I get the following error:

Cannot perform '-' operation on System.DateTime and System.DateTime.

What parameters should I be using in the Expression attribute to achieve this? any ideas?


Thanks,
Ketan
William
Top achievements
Rank 1
 answered on 10 Jun 2011
4 answers
137 views
With the solution in place for the previous issue (see below), we are now experiencing the failure of the RadGrid "cancel" button to hit the server side.  I can add an OnClientClick attribute to the asp:Button control to fire a JavaScript alert, but the server side Grid_ItemCommand (and even Page_Load) handler breakpoints are not being hit.  Any thoughts would be greatly appreciated.  Thank you.  Version 2010.3.1109.35

Previous Issue: http://www.telerik.com/community/forums/aspnet-ajax/grid/grid-insert-edit-fails-validation-cancel-tab-change.aspx
THOMAS
Top achievements
Rank 1
 answered on 09 Jun 2011
3 answers
150 views
Hi

Is there a way to get the MIME, Content Type and file name from the grid binary image when uploading a file to a database?
Grant Millgate
Top achievements
Rank 1
 answered on 09 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?