Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
195 views
I have a RadPanelBar that contains two RadPanelItems.  In Internet Explorer 8 the PanelItems expand and collapsed as expected.  In Firefox, however, the page posts back and the PanelBar's ItemClick event fires, but the PanelItems do not expand.

Has anyone run into this before?  Here is the code for the RadPanelBar:

<telerik:RadPanelBar ID="SearchPanelBar" Runat="server"  
                                        ExpandMode="FullExpandedItem" Width="100%" CausesValidation="False"  
                                        OnItemClick="SearchPanelBar_ItemClick"
                                        <Items> 
                                            <telerik:RadPanelItem Value="TopDateSearchPanelItem" runat="server" Text="Search Work Orders By Date" Width="100%" Expanded="true"
                                                <Items> 
                                                    <telerik:RadPanelItem Value="DateSearchPanelItem"
                                                        <ItemTemplate> 
                                                            <asp:Panel ID="pnlDateRange" runat="server" Direction="LeftToRight" HorizontalAlign="Left" Width="100%" Wrap="False"
                                        <table> 
                                            <tr> 
                                                <td> 
                                                    <asp:Label ID="lblStartDate" runat="server" Text="Install Start Date" CssClass="dateLabel"></asp:Label> 
                                                </td> 
                                                <td> 
                                                    <telerik:RadDatePicker ID="InstallStartDate" Runat="server" AutoPostBack="false" 
                                                        Culture="English (United States)"  
                                                        onselecteddatechanged="InstallStartDate_SelectedDateChanged"   
                                                        Width="150px"
                                                        <Calendar ID="Calendar1"  
                                                            runat="server"  
                                                            UseColumnHeadersAsSelectors="False"  
                                                            UseRowHeadersAsSelectors="False"  
                                                            ViewSelectorText="x"
                                                        </Calendar> 
                                                        <DatePopupButton HoverImageUrl="" ImageUrl="" /> 
                                                        <DateInput ID="DateInput1"  
                                                            runat="server"  
                                                            AutoPostBack="True"  
                                                            CausesValidation="false"  
                                                            DateFormat="M/d/yyyy"  
                                                            DisplayDateFormat="M/d/yyyy"
                                                        </DateInput> 
                                                    </telerik:RadDatePicker> 
                                                     
                                                </td> 
                                                <td  style="width:5px;">&nbsp;</td> 
                                                <td> 
                                                    <asp:Label ID="lblEndDate" runat="server" Text="Install End Date" CssClass="dateLabel"></asp:Label> 
                                                </td> 
                                                <td> 
                                                    <telerik:RadDatePicker ID="InstallEndDate" Runat="server" 
                                                        Culture="English (United States)"  Width="150px"
                                                    <Calendar ID="Calendar2"  
                                                        runat="server"  
                                                        UseColumnHeadersAsSelectors="False"  
                                                        UseRowHeadersAsSelectors="False"  
                                                        ViewSelectorText="x"
                                                    </Calendar> 
                                                    <DatePopupButton HoverImageUrl="" ImageUrl="" /> 
                                                    <DateInput ID="DateInput2"  
                                                        runat="server"  
                                                        DateFormat="M/d/yyyy"  
                                                        CausesValidation="false" 
                                                        DisplayDateFormat="M/d/yyyy"
                                                    </DateInput> 
                                                    </telerik:RadDatePicker> 
                                                     
                                                </td> 
                                                <td style="text-align:left;"
                                                    <asp:Button ID="btnSearchDateRange" runat="server" onclick="SearchDateRange_Click"  
                                                     Text="GO" CssClass="searchBtnRight" /> 
                                                </td> 
<%--AJAX Loading Panel Settings--%>        
                                                <td style="vertical-align:top;"
                                                   <telerik:RadAjaxLoadingPanel id="LoadingPanel1" runat="server" IsSticky="true" Transparency="1" style="position:absolute;"
                                                        <asp:Image id="Image1" runat="server"  ImageUrl="Images/loading7.gif" ImageAlign="Bottom"></asp:Image> 
                                                    </telerik:RadAjaxLoadingPanel> 
<%--Control Validator Settings--%>        
                                           <%--          <asp:RequiredFieldValidator ID="StartDateValidator" ControlToValidate="InstallStartDate" Enabled="true"  
                                                        ErrorMessage="The Start Date is required<br />" runat="server" Display="None" ></asp:RequiredFieldValidator> 
                                                    <asp:RequiredFieldValidator ID="EndDateValidator" ControlToValidate="InstallEndDate" Enabled="true"  
                                                        ErrorMessage="The End Date is required<br />" runat="server" Display="None" ></asp:RequiredFieldValidator> 
                                                    <asp:CompareValidator ID="dateCompareValidator" runat="server" Display="None" ControlToValidate="InstallEndDate" ControlToCompare="InstallStartDate" Operator="GreaterThanEqual" Type="Date" Enabled="true" 
                                                        ErrorMessage="The End Date must be after the Start Date.<br />"
                                                    </asp:CompareValidator> 
                                                    <asp:ValidationSummary id="validationSummary" DisplayMode="BulletList" runat="server"/> --%> 
                                                </td> 
                                            </tr> 
                                        </table> 
                                    </asp:Panel> 
                                                        </ItemTemplate> 
                                                    </telerik:RadPanelItem> 
                                                </Items> 
                                                 
                                            </telerik:RadPanelItem> 
                                            <telerik:RadPanelItem  Value="TopNumberSearchPanelItem" runat="server" Text="Search WorkOrders By Number" Width="100%"
                                                <Items> 
                                                            <telerik:RadPanelItem Value="NumberSearchPanelItem"
                                                                <ItemTemplate> 
                                                                        <table> 
                                                                            <tr> 
                                                                                <td> 
                                                                                    <asp:Label ID="lblSearch" runat="server" Text="Enter Search Value" CssClass="dateLabel"></asp:Label> 
                                                                                </td>    
                                                                                <td>                                                   
                                                                                    <asp:TextBox ID="txtSearchValue" runat="server" Visible="true"></asp:TextBox>                                                     
                                                                                </td> 
                                                                                <td  style="width:5px;"
                                                                                    <telerik:RadComboBox ID="SearchType" Runat="server"
                                                                                        <Items> 
                                                                                            <telerik:RadComboBoxItem runat="server" Text="R00 Number" Value="ReceiverNumber" /> 
                                                                                            <telerik:RadComboBoxItem runat="server" Text="Serial Number" Value="SerialNumber" /> 
                                                                                            <telerik:RadComboBoxItem runat="server" Text="Account Number" Value="AccountNumber" /> 
                                                                                            <telerik:RadComboBoxItem runat="server" Text="Job Number" Value="JobNumber" /> 
                                                                                        </Items> 
                                                                                    </telerik:RadComboBox> 
                                                                                </td> 
                                                                                <td style="text-align:left;"
                                                                                    <asp:Button ID="btnSearchNumber" runat="server" onclick="SearchNumber_Click"  
                                                                                        Text="GO" CssClass="searchBtnRight" /> 
                                                                                </td> 
<%--AJAX Loading Panel Settings--%>        
                                                                                <td style="vertical-align:top;"
                                                                                    <telerik:RadAjaxLoadingPanel id="LoadingPanel2" runat="server" IsSticky="true" Transparency="1" style="position:absolute;"
                                                                                        <asp:Image id="Image1" runat="server"  ImageUrl="Images/loading7.gif" ImageAlign="Bottom"></asp:Image> 
                                                                                    </telerik:RadAjaxLoadingPanel> 
                                                                            </tr> 
                                                                        </table> 
                                                    </ItemTemplate> 
                                            </telerik:RadPanelItem> 
                                        </Items> 
                                        </telerik:RadPanelItem> 
                                        </Items> 
                                    </telerik:RadPanelBar> 

mohmmad misk
Top achievements
Rank 1
 answered on 18 May 2011
3 answers
105 views
Hello!
Is it possible to add some icon to the title bar (next to or before "X" close button) of the pop-up edit form? I'd like to add "Help" icon and that would be the best place I think.

Thanks in advance!
Andy.
Andy
Top achievements
Rank 1
 answered on 18 May 2011
3 answers
99 views
How can I create a yahoo! mail beta-like grid, where you can scroll as long as you want and get new rows filled?

Yes, similar like this demo but get a bunch of empty rows there first, and fill them up when they're scrolled to.

I want users to get the feeling they can scroll down until the very last record instead of being limited to certain records like the demo.

Thanks.
Pavlina
Telerik team
 answered on 18 May 2011
9 answers
189 views
Sorry, but i can't find in the Help how to configure languages in radSpell in sharepoint. I want to spell check two languages.
so i supose it should be in the control or in the config xml.
Can you help me?

Thanks,
Edgar Cardeira
PeteV
Top achievements
Rank 1
 answered on 18 May 2011
2 answers
80 views
Hi
I've read the document on http://www.telerik.com/help/aspnet-ajax/radstylesheetmanager.html about how to embed our custom skins in an assembly to have the performance point by RadStyleSheetManager control.
My question is : 
Is there any possibility to embed multiple skins for different Rad Controls and just make ONE entry in RadStyleSheetManager ?
Please consider this markup:

<telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server">
    <StyleSheets>
        <telerik:StyleSheetReference Name="TelerikCustomSkins.TelerikSkinForComboBox.css"
            Assembly="TelerikCustomSkins"></telerik:StyleSheetReference>
    </StyleSheets>
</telerik:RadStyleSheetManager>

I want to change this to :

<telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server">
    <StyleSheets>
        <telerik:StyleSheetReference Name="TelerikCustomSkins.COMMEN.css"
            Assembly="TelerikCustomSkins"></telerik:StyleSheetReference>
    </StyleSheets>
</telerik:RadStyleSheetManager>

and for example if I use my custom skin for RadInput , the special css for RadInput , 
and if I use another custom skin for RadButton , the special css for RadButton been loded by RadStyleSheetManager.

I want to get rid of adding multiple entries to <StyleSheets> part of RadStyleSheetManager.
If it's not possible , are these added CSS references (for different custom skins) just loaded when they are required(when custom skins are used)?

Thank you very much for your feedbacks?
reza
Top achievements
Rank 1
 answered on 18 May 2011
3 answers
398 views
I have a radgrid.
Data is shown in the RadGrid
On window xp professional service pack 3 with Adobe Reader 8.2
i run the code
RadGrid.MasterTableView.ExportToPDF();
Its work fine.

when same code i run on Window7 Enterprise service pack1 with Adobe Reader 9.4 (on remote machine)
it does not work fine.
By default file that is exported from the radgrid is shown with word format.
and have the data in encrypted format. Second thing when this file is opened
in pdf it does not contain anything.

Please provide me solution.
Daniel
Telerik team
 answered on 18 May 2011
4 answers
176 views
I'm trying to export data using radgrid, it works fine for word, csv and excel. But when I try exporting to  dpf document, data is not formatted as it appears on the radgrid and yet for the other formats, are OK. In pdf, the column get resized and come out larger than they appear on the grid and thus they dont fit in A4 page on landscape even when they should.

How can I ensure the pdf document appear like data displayed on the grid? (i.e. columns in pdf are the same like the fixed columns i have set on radgrid). It works for other formats.

I have attached two sample docs that I get after exporting data:

1. Word-All columns appear.jpg: It shows a sample document exported to "word" and all columns are visible and well formatted.
2. PDF-cut of columns.jpg: Shows a sample document exported to "pdf" only a few columns are visible. The columns widths have been enlarged such that it cannot fit in the A4 page.

How can I fix this?
Andrew
Top achievements
Rank 1
 answered on 18 May 2011
3 answers
93 views
Hi,

I have a page where in there are multiple RadDock. 
Below code applied the styles to all Dock elements:
DIV.RadDock .rdCenter EM
{ color: #0472B3; font-weight:bold;    }

But I want to change the color/css of only one RadDock.


Thanks
Ajay
Pero
Telerik team
 answered on 18 May 2011
1 answer
40 views
I have a project and a new requirement cam up that users need to add pictures and each user that adds pictures are only able to view their photos that they added.

I am saving the images in the folder structure.I am trying to  create a new web.config file for each folder created an place the  proper user info in them but still haven't got that section down or if it will work. The reason why I am using the folder to save file is that I have unlimited disk but limited DB space.

Can I place a RadRotator  as a tool in a RadEditor for users to add pictures to and if so how do I go about doing so. Any help in the right direction is greatly appreciated.
Rumen
Telerik team
 answered on 18 May 2011
6 answers
189 views

Hi All,

I have a gridview. I have one linkbutton in the gridView and others are gridTemplatecolumns. I want to make the whole row bold whenever the user clicks on the link button

2344       abc   def        ghi    nes

so for e.g.

whenever user clicks on 2344, I want to make  2344 abc  gth rwe nes bold or of different color. Is it possible to do that.
so far my code is like below

<telerik:RadGrid ID="RadGrid_Picker" AllowSorting="True" PageSize="100" AllowPaging="True"
                                        AllowMultiRowSelection="True" runat="server" GridLines="None" OnPageIndexChanged="RadGrid_Picker_PageIndexChanged"
                                        OnPageSizeChanged="RadGrid_Picker_PageSizeChanged" Width="1500px" Visible="false" OnItemCommand="RadGrid_Picker_ItemCommand" OnItemDataBound="RadGrid_Picker_ItemDataBound"   >
                                        <ClientSettings EnableRowHoverStyle="true"><Selecting AllowRowSelect="true" /></ClientSettings>
                                        <MasterTableView Width="100%" Summary="RadGrid table" DataKeyNames="ID" />
                                        <MasterTableView RetrieveAllDataFields="true" AutoGenerateColumns="false" >
                                            <Columns>
                                               <telerik:GridBoundColumn DataField="ID"  Visible="false"></telerik:GridBoundColumn>
                                                <telerik:GridTemplateColumn UniqueName="TemplateLinkColumn"  AllowFiltering="false" HeaderText="ID">
                                                    <ItemTemplate>
                                                        <asp:LinkButton ID="ID_Link" runat="server" OnClick="ID_Link_Click" Text='<%#Bind("ID") %>' CommandName="Bold"></asp:LinkButton>
                                                      
                                                    </ItemTemplate>
                                                </telerik:GridTemplateColumn>
</Columns>
                                        </MasterTableView>
                                        <PagerStyle Mode="NextPrevAndNumeric" />
                                    </telerik:RadGrid>
  
  
and in the code behind
  
    protected void RadGrid_Picker_ItemCommand(object sender, GridCommandEventArgs e)
    {
        if (e.CommandName == "Bold")
        {
            GridDataItem item = (GridDataItem)e.Item;
            string value = item.GetDataKeyValue("ID").ToString();
            e.Item.Style.Add(HtmlTextWriterStyle.FontWeight, "Bold");
        }
    }



Thanks.

Tsvetina
Telerik team
 answered on 18 May 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?