Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
129 views
I've just (finally!) implemented a client-side Ajax refresh to a RadGrid.  This is very cool!

I wanted to handle client-side sorting via Ajax without triggering a postback.  I did this by adding an "OnCommand" client event.  I check to see if the command name is "Sort".  If it is, I do a set_cancel(true) so there's no postback, then I simply call the Javascript routine that triggers the Ajax refresh.  Since it's already passing filter/sort data, it works great!  The sort information is passed to the web service where I sort the data, and the data comes back sorted.  The grid even updates the column header with the sort icon.

The problem occurs when I have an initial sort on the grid on the server.  The page loads with the grid populated and sorted.  If I click on the already sorted column, it does the client-side routine to sort, but it adds a SECOND sort icon.  No matter what I do, that original sort icon is already there.  It acts as though it's part of the label.

Related to this, I had to set EnableSkinSortStyles to false as the style was applied to the originally sorted column and didn't change as the sort column changed.

Is there a way to address these issues?

Thank you.
Iana Tsolova
Telerik team
 answered on 09 Mar 2010
1 answer
176 views
Hi Telerik team,

I'm working with rad tab strip in  my application.
where i'm not able to apply the css for tabs.
Here i'm attaching Current design pattern and expected design pattern.

please help me by giving the solution.


Regards,
Surya Murthy
Schlurk
Top achievements
Rank 2
 answered on 09 Mar 2010
1 answer
287 views
Hello
i m Using TabStrip I Don't want Bottom Border in Tabstrip.
How can i do that.
Schlurk
Top achievements
Rank 2
 answered on 09 Mar 2010
1 answer
208 views
Hi,

I m using radgrid for my application.

and i need to pass a dataset or datatable from webservice to bind radgrid using javascript.

i have worked with your sample also and i have used following code snippet,

In webservice

 

public DataSet HelloWorld()

 

{

 

 

 

DataTable datatable = (DataTable)Session["oInstallationInfo"];

 

 

DataSet ds = new DataSet();

 

 

 ds.Tables.Add(datatable);

 

return ds;

 

}

and
in aspx page

 

function

 

ReceiveServerData(rValue)

 

{

 

 

  

 

xtenzasolutions.WebService1.HelloWorld(updateGrid,OnError);

alert(rValue);

 

 

}

 

function

 

OnError(result)

 

{

alert(

"Error : "+result.get_message());

 

}

 

 

 

 

 

function updateGrid(result,userContext)

 

{

 

debugger;

 

alert(result);

 

var tableview= $find("<%= rgDetails.ClientID %>").get_masterTableView();

 

tableview.set_dataSource(result);

tableview.dataBind();

}

I m getting the error 'Circular Reference was detected'. Please find the error page with this message.

Please give any suggestions.

Thanks in advance.

Regards,
Feroz

BaiH
Top achievements
Rank 1
 answered on 09 Mar 2010
1 answer
103 views
Hi,

My customer wants to have full Keyboard-based access on the Web-based application.
But it is not possible to make a click on the 'Upload' button using Keyboard. Any ideas how to have this running?

I know that there might be a possibility to fill the path of the file manually in the Textbox, but that is not the intention here.
So that is not a solution for me.

Thanks in advance.

Best Regards,
Veenu Munjal
Genady Sergeev
Telerik team
 answered on 09 Mar 2010
2 answers
217 views
Hi,

I am having trouble with the FormDecorator in a multipage setup.

The input boxes come out as an elongated field with strange grey boxes on each end.

Using the same setup, without the multipage, everything works fine.

Here is my code...

<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.master" AutoEventWireup="true" CodeBehind="CompanySummary.aspx.cs" Inherits="MaxApplication.Admin.CompanySummary" %> 
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> 
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">  
    <h1> 
    <asp:Label ID="lblCompanyName" runat="server" Text=""></asp:Label> 
</h1> 
 
    <asp:SqlDataSource ID="SqlDataSourceCompany" runat="server"   
        ConnectionString="<%$ ConnectionStrings:MaxSQLConnectionString %>"   
          
        SelectCommand="SELECT * FROM [company] WHERE ([Comp_CompanyId] = @Comp_CompanyId)"   
        ConflictDetection="CompareAllValues"   
        DeleteCommand="DELETE FROM [company] WHERE [Comp_CompanyId] = @original_Comp_CompanyId AND (([Comp_Name] = @original_Comp_Name) OR ([Comp_Name] IS NULL AND @original_Comp_Name IS NULL)) AND (([Comp_UserId] = @original_Comp_UserId) OR ([Comp_UserId] IS NULL AND @original_Comp_UserId IS NULL)) AND (([Comp_Deleted] = @original_Comp_Deleted) OR ([Comp_Deleted] IS NULL AND @original_Comp_Deleted IS NULL)) AND (([Comp_CreatedDate] = @original_Comp_CreatedDate) OR ([Comp_CreatedDate] IS NULL AND @original_Comp_CreatedDate IS NULL)) AND (([Comp_UpdatedDate] = @original_Comp_UpdatedDate) OR ([Comp_UpdatedDate] IS NULL AND @original_Comp_UpdatedDate IS NULL)) AND (([Comp_Type] = @original_Comp_Type) OR ([Comp_Type] IS NULL AND @original_Comp_Type IS NULL)) AND (([Comp_PhoneNumber] = @original_Comp_PhoneNumber) OR ([Comp_PhoneNumber] IS NULL AND @original_Comp_PhoneNumber IS NULL)) AND (([Comp_Address1] = @original_Comp_Address1) OR ([Comp_Address1] IS NULL AND @original_Comp_Address1 IS NULL)) AND (([Comp_Address2] = @original_Comp_Address2) OR ([Comp_Address2] IS NULL AND @original_Comp_Address2 IS NULL)) AND (([Comp_Address3] = @original_Comp_Address3) OR ([Comp_Address3] IS NULL AND @original_Comp_Address3 IS NULL)) AND (([Comp_Address4] = @original_Comp_Address4) OR ([Comp_Address4] IS NULL AND @original_Comp_Address4 IS NULL)) AND (([Comp_City] = @original_Comp_City) OR ([Comp_City] IS NULL AND @original_Comp_City IS NULL)) AND (([Comp_Postcode] = @original_Comp_Postcode) OR ([Comp_Postcode] IS NULL AND @original_Comp_Postcode IS NULL)) AND (([Comp_Country] = @original_Comp_Country) OR ([Comp_Country] IS NULL AND @original_Comp_Country IS NULL)) AND (([Comp_EmailAddress] = @original_Comp_EmailAddress) OR ([Comp_EmailAddress] IS NULL AND @original_Comp_EmailAddress IS NULL))"   
        InsertCommand="INSERT INTO [company] ([Comp_Name], [Comp_UserId], [Comp_Deleted], [Comp_CreatedDate], [Comp_UpdatedDate], [Comp_Type], [Comp_PhoneNumber], [Comp_Address1], [Comp_Address2], [Comp_Address3], [Comp_Address4], [Comp_City], [Comp_Postcode], [Comp_Country], [Comp_EmailAddress]) VALUES (@Comp_Name, @Comp_UserId, @Comp_Deleted, @Comp_CreatedDate, @Comp_UpdatedDate, @Comp_Type, @Comp_PhoneNumber, @Comp_Address1, @Comp_Address2, @Comp_Address3, @Comp_Address4, @Comp_City, @Comp_Postcode, @Comp_Country, @Comp_EmailAddress)"   
        OldValuesParameterFormatString="original_{0}"   
        UpdateCommand="UPDATE [company] SET [Comp_Name] = @Comp_Name, [Comp_UserId] = @Comp_UserId, [Comp_Deleted] = @Comp_Deleted, [Comp_CreatedDate] = @Comp_CreatedDate, [Comp_UpdatedDate] = @Comp_UpdatedDate, [Comp_Type] = @Comp_Type, [Comp_PhoneNumber] = @Comp_PhoneNumber, [Comp_Address1] = @Comp_Address1, [Comp_Address2] = @Comp_Address2, [Comp_Address3] = @Comp_Address3, [Comp_Address4] = @Comp_Address4, [Comp_City] = @Comp_City, [Comp_Postcode] = @Comp_Postcode, [Comp_Country] = @Comp_Country, [Comp_EmailAddress] = @Comp_EmailAddress WHERE [Comp_CompanyId] = @original_Comp_CompanyId AND (([Comp_Name] = @original_Comp_Name) OR ([Comp_Name] IS NULL AND @original_Comp_Name IS NULL)) AND (([Comp_UserId] = @original_Comp_UserId) OR ([Comp_UserId] IS NULL AND @original_Comp_UserId IS NULL)) AND (([Comp_Deleted] = @original_Comp_Deleted) OR ([Comp_Deleted] IS NULL AND @original_Comp_Deleted IS NULL)) AND (([Comp_CreatedDate] = @original_Comp_CreatedDate) OR ([Comp_CreatedDate] IS NULL AND @original_Comp_CreatedDate IS NULL)) AND (([Comp_UpdatedDate] = @original_Comp_UpdatedDate) OR ([Comp_UpdatedDate] IS NULL AND @original_Comp_UpdatedDate IS NULL)) AND (([Comp_Type] = @original_Comp_Type) OR ([Comp_Type] IS NULL AND @original_Comp_Type IS NULL)) AND (([Comp_PhoneNumber] = @original_Comp_PhoneNumber) OR ([Comp_PhoneNumber] IS NULL AND @original_Comp_PhoneNumber IS NULL)) AND (([Comp_Address1] = @original_Comp_Address1) OR ([Comp_Address1] IS NULL AND @original_Comp_Address1 IS NULL)) AND (([Comp_Address2] = @original_Comp_Address2) OR ([Comp_Address2] IS NULL AND @original_Comp_Address2 IS NULL)) AND (([Comp_Address3] = @original_Comp_Address3) OR ([Comp_Address3] IS NULL AND @original_Comp_Address3 IS NULL)) AND (([Comp_Address4] = @original_Comp_Address4) OR ([Comp_Address4] IS NULL AND @original_Comp_Address4 IS NULL)) AND (([Comp_City] = @original_Comp_City) OR ([Comp_City] IS NULL AND @original_Comp_City IS NULL)) AND (([Comp_Postcode] = @original_Comp_Postcode) OR ([Comp_Postcode] IS NULL AND @original_Comp_Postcode IS NULL)) AND (([Comp_Country] = @original_Comp_Country) OR ([Comp_Country] IS NULL AND @original_Comp_Country IS NULL)) AND (([Comp_EmailAddress] = @original_Comp_EmailAddress) OR ([Comp_EmailAddress] IS NULL AND @original_Comp_EmailAddress IS NULL))">  
        <SelectParameters> 
            <asp:QueryStringParameter Name="Comp_CompanyId"   
                QueryStringField="Comp_CompanyId" Type="Int32" /> 
        </SelectParameters> 
        <DeleteParameters> 
            <asp:Parameter Name="original_Comp_CompanyId" Type="Int32" /> 
            <asp:Parameter Name="original_Comp_Name" Type="String" /> 
            <asp:Parameter Name="original_Comp_UserId" Type="String" /> 
            <asp:Parameter Name="original_Comp_Deleted" Type="Boolean" /> 
            <asp:Parameter Name="original_Comp_CreatedDate" Type="DateTime" /> 
            <asp:Parameter Name="original_Comp_UpdatedDate" Type="DateTime" /> 
            <asp:Parameter Name="original_Comp_Type" Type="String" /> 
            <asp:Parameter Name="original_Comp_PhoneNumber" Type="String" /> 
            <asp:Parameter Name="original_Comp_Address1" Type="String" /> 
            <asp:Parameter Name="original_Comp_Address2" Type="String" /> 
            <asp:Parameter Name="original_Comp_Address3" Type="String" /> 
            <asp:Parameter Name="original_Comp_Address4" Type="String" /> 
            <asp:Parameter Name="original_Comp_City" Type="String" /> 
            <asp:Parameter Name="original_Comp_Postcode" Type="String" /> 
            <asp:Parameter Name="original_Comp_Country" Type="String" /> 
            <asp:Parameter Name="original_Comp_EmailAddress" Type="String" /> 
        </DeleteParameters> 
        <UpdateParameters> 
            <asp:Parameter Name="Comp_Name" Type="String" /> 
            <asp:Parameter Name="Comp_UserId" Type="String" /> 
            <asp:Parameter Name="Comp_Deleted" Type="Boolean" /> 
            <asp:Parameter Name="Comp_CreatedDate" Type="DateTime" /> 
            <asp:Parameter Name="Comp_UpdatedDate" Type="DateTime" /> 
            <asp:Parameter Name="Comp_Type" Type="String" /> 
            <asp:Parameter Name="Comp_PhoneNumber" Type="String" /> 
            <asp:Parameter Name="Comp_Address1" Type="String" /> 
            <asp:Parameter Name="Comp_Address2" Type="String" /> 
            <asp:Parameter Name="Comp_Address3" Type="String" /> 
            <asp:Parameter Name="Comp_Address4" Type="String" /> 
            <asp:Parameter Name="Comp_City" Type="String" /> 
            <asp:Parameter Name="Comp_Postcode" Type="String" /> 
            <asp:Parameter Name="Comp_Country" Type="String" /> 
            <asp:Parameter Name="Comp_EmailAddress" Type="String" /> 
            <asp:Parameter Name="original_Comp_CompanyId" Type="Int32" /> 
            <asp:Parameter Name="original_Comp_Name" Type="String" /> 
            <asp:Parameter Name="original_Comp_UserId" Type="String" /> 
            <asp:Parameter Name="original_Comp_Deleted" Type="Boolean" /> 
            <asp:Parameter Name="original_Comp_CreatedDate" Type="DateTime" /> 
            <asp:Parameter Name="original_Comp_UpdatedDate" Type="DateTime" /> 
            <asp:Parameter Name="original_Comp_Type" Type="String" /> 
            <asp:Parameter Name="original_Comp_PhoneNumber" Type="String" /> 
            <asp:Parameter Name="original_Comp_Address1" Type="String" /> 
            <asp:Parameter Name="original_Comp_Address2" Type="String" /> 
            <asp:Parameter Name="original_Comp_Address3" Type="String" /> 
            <asp:Parameter Name="original_Comp_Address4" Type="String" /> 
            <asp:Parameter Name="original_Comp_City" Type="String" /> 
            <asp:Parameter Name="original_Comp_Postcode" Type="String" /> 
            <asp:Parameter Name="original_Comp_Country" Type="String" /> 
            <asp:Parameter Name="original_Comp_EmailAddress" Type="String" /> 
        </UpdateParameters> 
        <InsertParameters> 
            <asp:Parameter Name="Comp_Name" Type="String" /> 
            <asp:Parameter Name="Comp_UserId" Type="String" /> 
            <asp:Parameter Name="Comp_Deleted" Type="Boolean" /> 
            <asp:Parameter Name="Comp_CreatedDate" Type="DateTime" /> 
            <asp:Parameter Name="Comp_UpdatedDate" Type="DateTime" /> 
            <asp:Parameter Name="Comp_Type" Type="String" /> 
            <asp:Parameter Name="Comp_PhoneNumber" Type="String" /> 
            <asp:Parameter Name="Comp_Address1" Type="String" /> 
            <asp:Parameter Name="Comp_Address2" Type="String" /> 
            <asp:Parameter Name="Comp_Address3" Type="String" /> 
            <asp:Parameter Name="Comp_Address4" Type="String" /> 
            <asp:Parameter Name="Comp_City" Type="String" /> 
            <asp:Parameter Name="Comp_Postcode" Type="String" /> 
            <asp:Parameter Name="Comp_Country" Type="String" /> 
            <asp:Parameter Name="Comp_EmailAddress" Type="String" /> 
        </InsertParameters> 
    </asp:SqlDataSource> 
    <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server"  DecoratedControls="All"/>  
      
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Runat="server"   
        Skin="Default">  
    </telerik:RadAjaxLoadingPanel> 
    <telerik:RadScriptManager ID="RadScriptManager1" Runat="server">  
    </telerik:RadScriptManager> 
      
    <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" height="200px"   
        width="100%">  
        <telerik:RadTabStrip ID="RadTabStrip1" runat="server"   
            MultiPageID="RadMultiPage1" SelectedIndex="0">  
            <Tabs> 
                <telerik:RadTab runat="server" Text="Summary" Selected="True">  
                </telerik:RadTab> 
                <telerik:RadTab runat="server" Text="Jobs">  
                </telerik:RadTab> 
                <telerik:RadTab runat="server" Text="Invoices">  
                </telerik:RadTab> 
            </Tabs> 
    </telerik:RadTabStrip> 
      
        <telerik:RadMultiPage ID="RadMultiPage1" Runat="server" SelectedIndex="0">  
            <telerik:RadPageView ID="RadPageView1" runat="server">  
              
              <div class="smallwindow">  
              <h2>Summary</h2> 
                  
                  
                 <asp:FormView ID="FormView1" runat="server" DataKeyNames="Comp_CompanyId"   
        DataSourceID="SqlDataSourceCompany"   Width="100%" onitemcommand="FormView1_ItemCommand"   
                      oniteminserting="FormView1_ItemInserting" onload="FormView1_Load"   
                        onitemupdated="FormView1_ItemUpdated">  
        <EditItemTemplate> 
           <table style="width: 100%" cellpadding="2">  
                <tr> 
                    <td > 
                        Name  
                        <br /> 
                        <asp:TextBox ID="Comp_NameTextBox" runat="server"   
                            Text='<%# Bind("Comp_Name") %>' /> 
                    </td> 
                    <td> 
                        Email<br /> 
                        <asp:TextBox ID="Comp_EmailAddressTextBox" runat="server"   
                            Text='<%# Bind("Comp_EmailAddress") %>' /> 
                    </td> 
                    <td> 
                        Phone<br /> 
                        <asp:TextBox ID="Comp_PhoneNumberTextBox" runat="server"   
                            Text='<%# Bind("Comp_PhoneNumber") %>' /> 
                    </td> 
                </tr> 
                <tr> 
                    <td> 
                        &nbsp;</td> 
                    <td> 
                        &nbsp;</td> 
                    <td> 
                        &nbsp;</td> 
                </tr> 
                <tr> 
                    <td> 
                        Address1<br /> 
                        <asp:TextBox ID="Comp_Address1TextBox" runat="server"   
                            Text='<%# Bind("Comp_Address1") %>' /> 
                    </td> 
                    <td> 
                        Address 2<br /> 
                        <asp:TextBox ID="Comp_Address2TextBox" runat="server"   
                            Text='<%# Bind("Comp_Address2") %>' /> 
                    </td> 
                    <td> 
                        Address 3<br /> 
                        <asp:TextBox ID="Comp_Address3TextBox" runat="server"   
                            Text='<%# Bind("Comp_Address3") %>' /> 
                    </td> 
                </tr> 
                <tr> 
                    <td> 
                        City<br /> 
                        <asp:TextBox ID="Comp_CityTextBox" runat="server"   
                            Text='<%# Bind("Comp_City") %>' /> 
                    </td> 
                    <td> 
                        Post Code<br /> 
                        <asp:TextBox ID="Comp_PostcodeTextBox" runat="server"   
                            Text='<%# Bind("Comp_Postcode") %>' /> 
                    </td> 
                    <td> 
                        &nbsp;</td> 
                </tr> 
            </table> 
            <asp:HiddenField ID="Comp_Type" runat="server"   
                Value='<%# Eval("Comp_Type") %>' /> 
            <br /> 
            <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True"   
                CommandName="Update" Text="Update" /> 
            &nbsp;<asp:LinkButton ID="UpdateCancelButton" runat="server"   
                CausesValidation="False" CommandName="Cancel" Text="Cancel" /> 
        </EditItemTemplate> 
        <InsertItemTemplate> 
         
             
            <table style="width: 100%" cellpadding="2">  
                <tr> 
                    <td > 
                        Name  
                        <br /> 
                        <asp:TextBox ID="Comp_NameTextBox" runat="server"   
                            Text='<%# Bind("Comp_Name") %>' /> 
                    </td> 
                    <td> 
                        Email<br /> 
                        <asp:TextBox ID="Comp_EmailAddressTextBox" runat="server"   
                            Text='<%# Bind("Comp_EmailAddress") %>' /> 
                    </td> 
                    <td> 
                        Phone<br /> 
                        <asp:TextBox ID="Comp_PhoneNumberTextBox" runat="server"   
                            Text='<%# Bind("Comp_PhoneNumber") %>' /> 
                    </td> 
                </tr> 
                <tr> 
                    <td> 
                        &nbsp;</td> 
                    <td> 
                        &nbsp;</td> 
                    <td> 
                        &nbsp;</td> 
                </tr> 
                <tr> 
                    <td> 
                        Address1<br /> 
                        <asp:TextBox ID="Comp_Address1TextBox" runat="server"   
                            Text='<%# Bind("Comp_Address1") %>' /> 
                    </td> 
                    <td> 
                        Address 2<br /> 
                        <asp:TextBox ID="Comp_Address2TextBox" runat="server"   
                            Text='<%# Bind("Comp_Address2") %>' /> 
                    </td> 
                    <td> 
                        Address 3<br /> 
                        <asp:TextBox ID="Comp_Address3TextBox" runat="server"   
                            Text='<%# Bind("Comp_Address3") %>' /> 
                    </td> 
                </tr> 
                <tr> 
                    <td> 
                        City<br /> 
                        <asp:TextBox ID="Comp_CityTextBox" runat="server"   
                            Text='<%# Bind("Comp_City") %>' /> 
                    </td> 
                    <td> 
                        Post Code<br /> 
                        <asp:TextBox ID="Comp_PostcodeTextBox" runat="server"   
                            Text='<%# Bind("Comp_Postcode") %>' /> 
                    </td> 
                    <td> 
                        &nbsp;</td> 
                </tr> 
            </table> 
            <asp:HiddenField ID="Comp_Type" runat="server"   
                Value='<%# Eval("Comp_Type") %>' /> 
            <br /> 
            <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True"   
                CommandName="Insert" Text="Insert" /> 
            &nbsp;<asp:LinkButton ID="InsertCancelButton" runat="server"   
                CausesValidation="False" CommandName="Cancel" Text="Cancel" /> 
        </InsertItemTemplate> 
        <ItemTemplate> 
          
 
        <table style="width: 100%" cellpadding="2">  
                <tr> 
                    <td > 
                        Name  
                        <br /> 
                       <asp:Label ID="Comp_NameLabel" runat="server" Text='<%# Bind("Comp_Name") %>' /> 
            <br /> 
                    </td> 
                    <td> 
                        Email<br /> 
                        <asp:Label ID="Comp_EmailAddressLabel" runat="server"   
                Text='<%# Bind("Comp_EmailAddress") %>' /> 
                    </td> 
                    <td> 
                        Phone<br /> 
                        <asp:Label ID="Comp_PhoneNumberLabel" runat="server"   
                Text='<%# Bind("Comp_PhoneNumber") %>' /> 
                    </td> 
                </tr> 
                <tr> 
                    <td> 
                        &nbsp;</td> 
                    <td> 
                        &nbsp;</td> 
                    <td> 
                        &nbsp;</td> 
                </tr> 
                <tr> 
                    <td> 
                        Address1<br /> 
                        <asp:Label ID="Comp_Address1Label" runat="server"   
                Text='<%# Bind("Comp_Address1") %>' /> 
                    </td> 
                    <td> 
                        Address 2<br /> 
                        <asp:Label ID="Comp_Address2Label" runat="server"   
                Text='<%# Bind("Comp_Address2") %>' /> 
                    </td> 
                    <td> 
                        Address 3<br /> 
                        <asp:Label ID="Comp_Address3Label" runat="server"   
                Text='<%# Bind("Comp_Address3") %>' /> 
                    </td> 
                </tr> 
                <tr> 
                    <td> 
                        City<br /> 
                        <asp:Label ID="Comp_CityLabel" runat="server" Text='<%# Bind("Comp_City") %>' /> 
                    </td> 
                    <td> 
                        Post Code<br /> 
                        <asp:Label ID="Comp_PostcodeLabel" runat="server"   
                Text='<%# Bind("Comp_Postcode") %>' /> 
                    </td> 
                    <td> 
                        &nbsp;</td> 
                </tr> 
            </table> 
                  
         <asp:LinkButton ID="EditButton" runat="server" CausesValidation="False"   
                CommandName="Edit" Text="Edit" /> 
              
        </ItemTemplate> 
    </asp:FormView> 
                  
              </div> 
            </telerik:RadPageView> 
            <telerik:RadPageView ID="RadPageView2" runat="server">  
            <div class="smallwindow"><h2>Jobs</h2></div>  
            </telerik:RadPageView> 
            <telerik:RadPageView ID="RadPageView3" runat="server">  
            <div class="smallwindow"><h2>Invoices</h2></div>  
            </telerik:RadPageView> 
        </telerik:RadMultiPage> 
          
    </telerik:RadAjaxPanel> 
 
</asp:Content> 
 
Tony Casey
Top achievements
Rank 1
 answered on 09 Mar 2010
1 answer
67 views
I got all views working fine in Firefox, but when I click in DayView or WeekView in IE it goes out of the margins, as in the attached image.

The scroll looks wright but don't work, to go up and down I can only use the scroll of the window.

The code it's like this:
 
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"  /> 
    
            <telerik:RadSplitter runat="server" ID="RadSplitter1" PanesBorderSize="0" Width="100%" Height=700px 
                > 
                <telerik:RadPane runat="Server" ID="leftPane" Width="20%"  MinWidth="200"    
                    Scrolling="Y"  
                    OnClientResizing="hideScrollableArea" OnClientResized="showScrollableArea" 
                    OnClientExpanding="hideScrollableArea" OnClientExpanded="showScrollableArea" 
                    OnClientCollapsing="hideScrollableArea" OnClientCollapsed="showScrollableArea" 
                    > 
                    <div class="calendar-container"> 
                        <telerik:RadCalendar runat="server" Width="100%" ID="RadCalendar1"  AutoPostBack="true" 
                            EnableMultiSelect="false" DayNameFormat="FirstTwoLetters" EnableNavigation="true" 
                            EnableMonthYearFastNavigation="false" OnSelectionChanged="RadCalendar1_SelectionChanged" 
                            FastNavigationStep=12   
                            > 
                        </telerik:RadCalendar> 
                    </div> 
                    <telerik:RadPanelBar runat="server"  ID="PanelBar"  Width="100%" > 
                        <Items> 
                            <telerik:RadPanelItem id="RadPanelItem1" runat="server"  Text="Eventos" Expanded="true"> 
                                <Items> 
                                    <telerik:RadPanelItem runat="server" Width="100%"> 
                                        <ItemTemplate> 
                                            <div class="rpCheckBoxPanel"> 
                                                <asp:Repeater runat="server"  ID="rep_tipo_evento_trab">... </asp:Repeater> 
                                            </div> 
                                        </ItemTemplate> 
                                    </telerik:RadPanelItem> 
                                </Items> 
                            </telerik:RadPanelItem> 
                        </Items> 
                    </telerik:RadPanelBar> 
                </telerik:RadPane> 
                <telerik:RadSplitBar runat="server" ID="RadSplitBar2" CollapseMode="Forward" /> 
                <telerik:RadPane runat="Server" ID="rightPane" Scrolling=Y  Width="80%"   >                     
                      
                 <telerik:RadScheduler runat="server" ID="RadScheduler1"  Height=700px 
...                         
OverflowBehavior="Expand"         
...                        >                                 
                    </telerik:RadScheduler> 
                     
                </telerik:RadPane> 
           
            </telerik:RadSplitter> 




Peter
Telerik team
 answered on 09 Mar 2010
2 answers
90 views
Hi,

I have a splitter setup with two panes and a splitbar for resizing or collapsing the panes.  The panes are setup so that in the left pane I have a dropdown combo box that contains all my dates populated by a sqldatasource control while on the right pane there is a chart control that is databound to a sqldatasource which uses the comboxbox from the left pane as one of the select paremeters, thereby controlling the date of the data that will display in the chart.

The problem is whenever this page loads the sqldatasource from the right pane cannot see the control on the left pane so the page fails to load.  The error is simply "Cannot find control RadBombobox1".

Why is this happening and is there anything that can be done?  Seems like the only way I can get it all to work is to be sure the combobox and it's sqldatasource are all on the same pane and not seperate ones.

Thanks,
Ron
Ron
Top achievements
Rank 2
 answered on 09 Mar 2010
6 answers
1.0K+ views
I'm trying to get a column of comboboxes to move focus from one to the next one down when the user hits enter.  The code below will move to the next one ok but the current one (and all previous ones) remains highlighted.  Is there a way to deselect the old combo or a different way to change focus?

ASPX - C#
cb.Attributes.Add("onkeydown", string.Format("ControlKeyPress(this,event,'{0}',{1});", "PurchaseComboBox", dataItem.ItemIndex)); 

JS
            function ControlKeyPress(sender, args, control, index) {  
                if (args.keyCode == 13) {  
                    var dataItems = createGrid.get_masterTableView().get_dataItems();  
                    if (index < dataItems.length) {  
                        var nextControl = dataItems[index + 1].findControl(control);  
                        var input;  
                        if (typeof (nextControl.get_inputDomElement) == "undefined") {  
                            input = nextControl;  
                        } else {  
                            input = nextControl.get_inputDomElement();  
                        }  
                        window.setTimeout(function() { input.focus(); }, 0);  
                    }  
                }  
            }  
 

Kalina
Telerik team
 answered on 09 Mar 2010
1 answer
299 views
Hello I m Using RadListBox and Checkbox Property is true
now when radlistbox is load during that time check box and text display without space between that
screenshot is attahced here. Probelm is not in IE but issue in Other Browser.



Veselin Vasilev
Telerik team
 answered on 09 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?