Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
74 views
Team,

I am facing an error which is causing to us , 

My controls are like this ,asp:updatepanel Inside update panel i placed radajaxmanager and  radgrid... 

I'm geting this error while redirecting to another page are refreshing the curent page then I'm getting this script error..

Please find the attachment files. and give the sol for this problem asap

Regards,

Prasad
Andrey
Telerik team
 answered on 13 Nov 2012
3 answers
79 views
Hi Sir,
I'm experiencing an issue with a radgrid after filtering: the columns sizes are reduced and I'm unable to remove the filter.
To clarify, I'm posting images.
I hope you can find a solution

Thanks
Davide Accogli
Kostadin
Telerik team
 answered on 13 Nov 2012
6 answers
163 views
Hi,

I want to display only a subset of classes in the Apply CSS drop-down list.
I have two CSS files, and I want to render the document with the content of both in the editor, but I want only the classes of one of them to be selectable in the dropdown list.

I noticed that the drop-down list is populated when you first click on the item. And it then reads all the CSS classes that are loaded in the document.

How can I either trigger the population of the drop-down list or otherwise get the required behaviour?

I tried setting the CSSFiles property either programmatically or via the Tools.xml file, but I then noticed I could delay-load a CSS file in the iframe, but I need to trigger the event, otherwise I get all classes, and it becomes rather messy.

I do now know before hand what classes are defined in the CSS-files as they might be a number of different setups for our different customers.

I hope you can help me.

Rumen
Telerik team
 answered on 13 Nov 2012
6 answers
161 views
Hi to all,
I would:
  1. select an item by dropbox
  2. select a date, and by this auto-postback
  3. Into selected-changed event I would change timeview (starttime, endtime and interval)

How can I do this?

Dario
Top achievements
Rank 2
 answered on 13 Nov 2012
5 answers
114 views
So I have a multibanded rad grid with tabs and sub grids within the tabs.  For an edit template for one of the grids I have the rad date picker as the control to be used when editing.  So basically the issue that I am having, is sometimes when you go and try to edit a row in the grid, the datepicker calendar loses its style.  Basically instead of the calendar picture it says: "click here to open the calendar popup" which is the tooltip, and the calendar is completely unstyled.  This doesnot happen all the time, and I have yet to pinpoint what actually triggers this action.  Has anyone run into this problem yet??
Thanks,

Nate
p.s. below is the code for the subgrid.
 <telerik:RadGrid ID="rgHire" runat="server" AutoGenerateColumns="False" DataSourceID="sqlDSHire"
                            GridLines="None" Skin="Outlook" AllowAutomaticUpdates="True">
                            <MasterTableView DataSourceID="sqlDSHire" DataKeyNames="pkWorkerID" EditMode="InPlace">
                                <RowIndicatorColumn>
                                    <HeaderStyle Width="20px" />
                                </RowIndicatorColumn>
                                <ExpandCollapseColumn>
                                    <HeaderStyle Width="20px" />
                                </ExpandCollapseColumn>
                                <Columns>
                                    <telerik:GridEditCommandColumn HeaderStyle-Width="20px" ButtonType="ImageButton">
                                    </telerik:GridEditCommandColumn>
                                    <telerik:GridBoundColumn DataField="pkWorkerID" DataType="System.Int32" HeaderText="pkWorkerID"
                                        SortExpression="pkWorkerID" UniqueName="pkWorkerID" Visible="false">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridTemplateColumn DataField="OriginalDateOfHire" HeaderText="Original Date Of Hire"
                                        SortExpression="OriginalDateOfHire" UniqueName="OriginalDateOfHire" ItemStyle-HorizontalAlign="Left">
                                        <ItemTemplate>
                                            <asp:Label ID="lblOriginalDateOfHire" runat="server" Text='<%# Eval("OriginalDateOfHire") %>'></asp:Label>
                                        </ItemTemplate>
                                        <ItemStyle HorizontalAlign="Left"></ItemStyle>
                                        <EditItemTemplate>
                                            <telerik:RadDatePicker ID="dpOriginalDateOfHire" SelectedDate='<%# Bind("OriginalDateOfHire") %>'
                                                runat="server" Skin="Outlook">
                                            </telerik:RadDatePicker>
                                            <asp:RequiredFieldValidator ID="rfvOriginalDateOfHire" runat="server" ErrorMessage="*"
                                                ControlToValidate="dpOriginalDateOfHire"></asp:RequiredFieldValidator>
                                        </EditItemTemplate>
                                    </telerik:GridTemplateColumn>
                                    <telerik:GridTemplateColumn DataField="CurrentDateOfHire" HeaderText="Current Date Of Hire"
                                        SortExpression="CurrentDateOfHire" UniqueName="CurrentDateOfHire" ItemStyle-HorizontalAlign="Left">
                                        <ItemTemplate>
                                            <asp:Label ID="lblCurrentDateOfHire" runat="server" Text='<%# Eval("CurrentDateOfHire") %>'></asp:Label>
                                        </ItemTemplate>
                                        <ItemStyle HorizontalAlign="Left"></ItemStyle>
                                        <EditItemTemplate>
                                            <telerik:RadDatePicker ID="dpCurrentDateOfHire" SelectedDate='<%# Bind("CurrentDateOfHire") %>'
                                                runat="server" Skin="Outlook">
                                            </telerik:RadDatePicker>
                                        </EditItemTemplate>
                                    </telerik:GridTemplateColumn>
                                </Columns>
                                <EditFormSettings>
                                    <EditColumn UniqueName="EditCommandColumn1">
                                    </EditColumn>
                                </EditFormSettings>
                            </MasterTableView>
                        </telerik:RadGrid>
Galin
Telerik team
 answered on 13 Nov 2012
15 answers
506 views
Hello,

I'm having trouble getting a RadListBox to transfer correctly.  The source radlistbox loads as expected but the destination radlistbox does not seem to have data to bind to.  After the transfer, empty rows appear in the destination radlistbox.  Can anyone offer advice as to what I'm missing?

On Load  (if(!IsPostBack)...

DataSet ds = new DataSet(); 
 
ds.ReadXml(Server.MapPath("~/_sample_data/CustomersAndDogs.xml")); 
 
SourceRadListBox.DataSource = ds; 
SourceRadListBox.DataBind(); 

The aspx code is as follows:

<div style="width: 600px;"
        <telerik:radlistbox  
            id="SourceRadListBox"  
            runat="server"  
            skin="WebBlue"  
            allowtransfer="True" 
            transfermode="Copy"  
            transfertoid="DestinationRadListBox"  
            height="200px"  
            width="250px" 
            datasortfield="DogName" 
            SelectionMode="Multiple"             
            > 
            <EmptyMessageTemplate> 
                No dogs found</EmptyMessageTemplate> 
            <ItemTemplate> 
                <div style="width: 100%;"
                     
                    <div style="width: 50%; float: left;"
                        <%# Eval("DogName") %></div
                    <div style="width: 50%; float: left;"
                        <%# Eval("OwnerFullName") %></div
                </div> 
            </ItemTemplate> 
            <Items> 
            </Items> 
        </telerik:radlistbox> 
        <telerik:radlistbox id="DestinationRadListBox" runat="server" width="250px" height="200px"
            <EmptyMessageTemplate> 
                No dogs selected</EmptyMessageTemplate> 
            <ItemTemplate> 
                <div style="width: 100%;"
                    <div style="width: 50%; float: left;"
                        <%# Eval("DogName") %></div
                    <div style="width: 50%; float: left;"
                        <img src='<%# Eval("DogThumbNailImageUrl") %>' height="40px" width="40px" alt="" /></div
                </div>                 
            </ItemTemplate> 
        </telerik:radlistbox> 
        </div> 

Thanks,
James
Genady Sergeev
Telerik team
 answered on 13 Nov 2012
3 answers
106 views
I have the folloing code for a RadTimePicker but for some reason in my page behind when I submit a query to the database with tpEndTime formatted as a string it is inputting the date and time in to the database column, not just the time. The db table column that has the issue is set to nvarchar and there are no formatting calls on the field before the insert.

Dim dEndTime As String = tpEndTime.SelectedDate

So instead of 18:00 my database is showing 8/22/2011 18:00:00 PM

<telerik:RadTimePicker ID="tpEndTime" runat="server" Skin="Vista">
                <DateInput DateFormat="HH:mm" DisplayDateFormat="HH:mm" runat="server"></DateInput>
                <TimeView ShowHeader="true" HeaderText="End Time" Interval="00:15:00" Columns="4" StartTime="08:00:00" EndTime="20:00:00" TimeFormat="HH:mm" runat="server"></TimeView>
</telerik:RadTimePicker>

I am using the latest version of the ASP.net AJAX controls
Maria Ilieva
Telerik team
 answered on 13 Nov 2012
3 answers
244 views
I'm working on a project that requires a user to click on an appointment to trigger an event. I'm using the OnAppointmentClick to accomplish this, but I need to disable the click event for certain appointments displayed.

I'd prefer the event not even fire for those appointments, but can't find any way to accomplish this on a appointment by appointment level.

Thanks for any help and suggestions you may have.
Chris
Plamen
Telerik team
 answered on 13 Nov 2012
5 answers
72 views
Hello

Our Clients started using IPad. Before on IE when we had  breaks in teh document there was not formatting problem but now We are having issues with new line or break in radeditor using Safari.
Is this issue resolved. The Radeditor version i am using is 7.3.5

Please let us know 

Please Anyone who was able to resolve this issue. or else we are forced to use some other editor. And we have been using Radeditor for most of our appliaction. 

Help

Thank you 
Kavya 
Apo
Telerik team
 answered on 13 Nov 2012
3 answers
55 views
Hello everyone.

I have downloaded the 2012.3.1016.40 version of telerik asp.net and now I'm having a problem with tabstrip (I did not have this problem before).

My tabstrip have 3 tabs, but, when I click on the second, there are no changes on the screen! If I click on the third, no problem, but, if I click on the second after the third, I have no changes again.

ps: I have postback when I change between tabs.

What is the bug?

Regards.
Dimitar Terziev
Telerik team
 answered on 13 Nov 2012
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?