Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
103 views
Hi,
I have created a user control in my website to create Raddocks dynamicaly. This user control is used in one of the child page (testpage.aspx) which is opened through 'window.top.radopen' javascript command to perform drag and drop. 

The problem is, when the page (testpage.aspx) is loaded first, the docks are created fine. But while performing drag and drop neither the page init (user-control's) nor the DockLayout's events (in user-control screen) are not getting fired.

I have to save the order at which the docks (dynamically created) are sorted. I worked out the code to save the dock's sorted order after drag and drop. The code works fine in child page. but not working in usercontrol....I think the events are not triggering due to some postback problem. My website is not AJAX enabled.

I have googled a lot..but couldn't find a solution.

any idea ... ?
Pero
Telerik team
 answered on 10 Jun 2011
3 answers
200 views
I have a radgrid control bind to an object datasource. In the business layer, I have some validation check to make sure input data is valid and if it not the business layer wil throw an exception.

In the ItemUpdated event of the radgrid, I have write some logic to catch the exception from the business layer:

            If e.Exception IsNot Nothing Then 
                e.ExceptionHandled = True 
                e.KeepInEditMode = True 
 
                Response.Write(e.Exception.Message) 
            End If 

Everything works fine except that the edit form of radgrid control does not retain the new value when server-side validation failed.

I was trying to apply that logic to a form view / detail view and everything works as expected, when server-side validation failed, the new values are remain and the user can modify the invalid one and perform update action again.

Am I missing some thing with the radgrid control ?
Any help would be appreciated.
RvdGrint
Top achievements
Rank 1
 answered on 10 Jun 2011
2 answers
233 views
Is there a way to raise the RadTabStrip tab click event programatically?

I want to be able to raise the event and not just call the event handler directly.
Helen
Telerik team
 answered on 10 Jun 2011
1 answer
75 views
Hi

I am using a combobox in my filter template and want to add icons to the items in the drop down list.

I have seen how to do this declaritively in the aspx definition, but I don't want to have a fixed list
in the page. I would rather load it programatically.I have already created a datasource
that I am using, but there appears to be no way of indicating the field to use for ItemUrl.

This might be a really nice feature.

Another approach I was trying to pursue would have me loading the combobox items during page load.
How do I access the appropriate combobox within my grid control. There is no corresponding item in the 
designer cs file. Presumably I can access the combobox from the grid's control list, but I am unclear on how to 
do this.

TIA 
Dimitar Terziev
Telerik team
 answered on 10 Jun 2011
10 answers
129 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
802 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
176 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
143 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
89 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
97 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?