Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
122 views

Posted 0 minutes ago (permalink)

Hi,
I,m Using an updatePanel in a page of my website that with click on any label of menu bar the content of panel changes and a usercontrol load into panel, my website work correctly in IE8 but in firefox ot netscape or opera no event occured and no information shows,Can U tell me how can i fix this problem?
this is a peace of my code:
<asp:UpdatePanel ID="Updatepnl" runat="server" UpdateMode="Conditional">
 <ContentTemplate>
 <asp:Panel ID="MainPanel" runat="server" Width="100%" Height="996px">
 </asp:Panel>
 <asp:Button ID="btnAjax" runat="server" style="display:none;" OnClick="btnAjax_Click"/>
 <input id="hdn" type="hidden" runat="server"/>
 </ContentTemplate>
 <%-- <Triggers><asp:AsyncPostBackTrigger ControlID="btnAjax" /> </Triggers> --%>
 </asp:UpdatePanel>
and in my CodeBehind:
protected void btnAjax_Click(object sender, EventArgs e)
    {
        Panel ContentPanel = (Panel)Page.FindControl("MainPanel");
        string PageIndex = hdn.Value;




        if (ContentPanel != null)
        {

            switch (PageIndex)
            {

                case "1":
                    ContentPanel.Controls.Add(Page.LoadControl("Pages/Home.ascx"));
                    break;......}}}

Thank u my friend.
Prangadj
Top achievements
Rank 1
 answered on 31 May 2010
2 answers
120 views

Whats the best way of making sure N number of whole items are shown in  a rotator?
My solution was to  set itemwidth to X and width =N x X.

But that didnt seem to work. My items were overlapping and when they scrolleved they showed half items.
My Items are usercontrols which get added to a Placeholder. The user controls don't have width specified.

TIA

PS


Fiko
Telerik team
 answered on 31 May 2010
1 answer
104 views
Hi,
I,m Using an updatePanel in a page of my website that with click on any label of menu bar the content of panel changes and a usercontrol load into panel, my website work correctly in IE8 but in firefox ot netscape or opera no event occured and no information shows,Can U tell me how can i fix this problem?
this is a peace of my code:
<asp:UpdatePanel ID="Updatepnl" runat="server" UpdateMode="Conditional">
 <ContentTemplate>
 <asp:Panel ID="MainPanel" runat="server" Width="100%" Height="996px">
 </asp:Panel>
 <asp:Button ID="btnAjax" runat="server" style="display:none;" OnClick="btnAjax_Click"/>
 <input id="hdn" type="hidden" runat="server"/>
 </ContentTemplate>
 <%-- <Triggers><asp:AsyncPostBackTrigger ControlID="btnAjax" /> </Triggers> --%>
 </asp:UpdatePanel>
and in my CodeBehind:
protected void btnAjax_Click(object sender, EventArgs e)
    {
        Panel ContentPanel = (Panel)Page.FindControl("MainPanel");
        string PageIndex = hdn.Value;




        if (ContentPanel != null)
        {

            switch (PageIndex)
            {

                case "1":
                    ContentPanel.Controls.Add(Page.LoadControl("Pages/Home.ascx"));
                    break;......}}}

Thank u my friend.
Prangadj
Top achievements
Rank 1
 answered on 31 May 2010
1 answer
137 views
Guys, I just broke my a$$ trying to figure out how to get this menu working in DNN.  I'm a front end web developer and man was this a tricky menu to get running.  Now that my skin validates XHTML 1.0 Transitional and the content is also nearly cleaned up, I try the CSS and everything validates but RADMENU.  I'm using today's ASP.NET AJAX set for DNN.

Anybody got any hacks or magic bullets for a front end guy for these errors:

URI : http://www.haymondlaw.com/WebResource.axd?d=pUFT-8T9xrwHr1QpjCbuuiOUHtwy8qtV28urXzEO5ac6b6G2saULDmSMTvfkv-140&t=634093604426007300

498 * html .RadMenu .rmRoundedCorners .rmGroup .rmText, * html .RadMenu .rmShadows .rmGroup .rmText Property zoom doesn't exist : normal normal
Kamen Bundev
Telerik team
 answered on 31 May 2010
1 answer
96 views
Hi All,

I have an item template command used to filter all columns once it is clicked. what i want to do is to allow the user to click [Enter] key then the filtering event occurs (Like clicking on the item template command by mouse click), how this can be doable?
Please find the attached image to see how the grid looks like.
I dont want to set property Autopostbackonfilter to true for each column because i'm filtering all the columns at single command item click.

Thanks in advance
Daniel
Telerik team
 answered on 31 May 2010
2 answers
100 views
I'm experiencing an issue in windows with contenttemplate and inside a toolbar with toolbarsplitbutton.
Normally the control work fine but if I maximize the window i cannot expand anymore the splitbutton

This is my implementation
    <telerik:RadWindow ID="RadWindow1" runat="server" CssClass="RadWindow" 
        Behaviors="Resize, Maximize, Move" Height="400px" Modal="True"   
        VisibleStatusbar="False" Width="600px" VisibleOnPageLoad="True"   
        Title="Seleziona Agenzia / Sito">  
        <ContentTemplate> 
            <telerik:RadToolBar ID="RadToolBar1" runat="server" Width="100%">  
                <Items> 
                    <telerik:RadToolBarButton runat="server" Text="Aggiorna"   
                        ImageUrl="~/images/refresh.png" AllowSelfUnCheck="True" Value="refresh">  
                    </telerik:RadToolBarButton> 
                    <telerik:RadToolBarButton IsSeparator="True" /> 
                    <telerik:RadToolBarSplitButton ID="ComboSearch" runat="server">  
                        <Buttons> 
                            <telerik:RadToolBarButton runat="server" Text="Cerca in 'Nomi e note'" /> 
                            <telerik:RadToolBarButton runat="server" Text="Cerca in 'Nome cliente'" /> 
                            <telerik:RadToolBarButton runat="server" Text="Cerca in 'Nome agenzia'" /> 
                            <telerik:RadToolBarButton runat="server" Text="Cerca in 'Indirizzo'" /> 
                            <telerik:RadToolBarButton runat="server" Text="Cerca in 'Cap'" /> 
                            <telerik:RadToolBarButton runat="server" Text="Cerca in 'Città'" /> 
                            <telerik:RadToolBarButton runat="server" Text="Cerca in 'Provincia'" /> 
                            <telerik:RadToolBarButton runat="server" Text="Cerca in 'Note'" /> 
                        </Buttons> 
                    </telerik:RadToolBarSplitButton> 
                    <telerik:RadToolBarButton Value="TemplateSearch">  
                    <ItemTemplate> 
                        <asp:TextBox ID="TextboxSearch" runat="server" Width="150px" /> 
                    </ItemTemplate> 
                    </telerik:RadToolBarButton> 
                    <telerik:RadToolBarButton runat="server" ImageUrl="~/Images/search.png" Value="search">  
                    </telerik:RadToolBarButton> 
                </Items> 
            </telerik:RadToolBar> 
            <telerik:RadGrid ID="RadGrid1" runat="server" Width="100%"   
                AutoGenerateColumns="False" DataSourceID="SqlDataSourceCustomers"   
                GridLines="None">  
                <!-- my grid implementation --> 
            </telerik:RadGrid> 
        </ContentTemplate> 
    </telerik:RadWindow> 

Any suggestion about that?

Best regards

Sandro Cavazzoni
Sandro Cavazzoni
Top achievements
Rank 1
 answered on 31 May 2010
6 answers
119 views
Hello,
i am working a project that uses Telerik Q2 2009.
I am using mainly Rad Ajax Manager and Rad Datepicker.
Today i get an interesting error and could not find any solution so i really need your help or i will have to remove all telerik components from my project.
Problem occured in a client machine running on Windows XP SP2. The interesting part when i tried your rad ajax manager demo from demos page http://demos.telerik.com/aspnet-ajax/ajax/examples/manager/firstlook/defaultcs.aspx, i get same error.

The problem is when i click a date from calender in your demo page, ajax loading panels become active but they never fade and after 90 seconds they are giving an Timeout exception. When i debug with firebug i saw that ajax manager aren't posting any data it just try to beginajaxrequest event and falls to timeout exception. 

Lastly i saw this problem only 4 machine with same system and in the same network. I really need a quick help.
Maria Ilieva
Telerik team
 answered on 31 May 2010
6 answers
150 views
hi i have this grid w/ hierarchy table but its not expanding here is the code
                            <telerik:RadGrid ID="grdAppezz" runat="server" GridLines="None" 
                                AllowPaging="True" PageSize="20" AllowSorting="True" AutoGenerateColumns="False" 
                                ShowStatusBar="true" AllowAutomaticDeletes="True" AllowAutomaticInserts="True" 
                                AllowAutomaticUpdates="True"> 
                                <MasterTableView CommandItemDisplay="none" GridLines="None" 
                                    DataKeyNames="IDAPPEZZAMENTO,IDUPO,IDNOTIFICA" AllowFilteringByColumn="False" AllowSorting="True"> 
                                    <Columns> 
                                        <telerik:GridTemplateColumn> 
                                            <ItemTemplate> 
                                                <asp:ImageButton runat="server" ID="btnEdit" ImageUrl="~/_img/Editor.gif" /> 
                                            </ItemTemplate> 
                                        </telerik:GridTemplateColumn> 
                                        <telerik:GridTemplateColumn> 
                                            <HeaderTemplate> 
                                                <table id="Table1" style="width: 100%"> 
                                                    <tr> 
                                                        <td style="width: 100%"> 
                                                            <asp:LinkButton CssClass="Button" ID="btnAPP" Text="N° App." ToolTip="Sort by N° Appezzamento" 
                                                            CommandName='Sort' CommandArgument='IDUPO' runat="server" /> 
                                                        </td> 
                                                    </tr> 
                                                </table> 
                                            </HeaderTemplate> 
                                            <ItemTemplate> 
                                                <table cellspacing="0" width="100%"> 
                                                    <tr> 
                                                        <td style="width: 100%"> 
                                                            <%#Eval("IDAPPEZZAMENTO")%> 
                                                        </td> 
                                                    </tr> 
                                                </table> 
                                            </ItemTemplate> 
                                            <ItemStyle HorizontalAlign="Center" /> 
                                        </telerik:GridTemplateColumn> 
                                        <telerik:GridTemplateColumn> 
                                            <HeaderTemplate> 
                                                <table id="Table1" style="width: 100%"> 
                                                    <tr> 
                                                        <td colspan="2" align="center"> 
                                                            <b>Codice Istat</b> 
                                                        </td> 
                                                    </tr> 
                                                    <tr> 
                                                        <td style="width: 50%"> 
                                                            <asp:LinkButton CssClass="Button" ID="btnProv" Text="Prov" ToolTip="Sort by Provincia" 
                                                            CommandName='Sort' CommandArgument='PROVINCIA' runat="server" /> 
                                                        </td> 
                                                        <td style="width: 50%"> 
                                                            <asp:LinkButton CssClass="Button" ID="btnCom" Text="Comune" ToolTip="Sort by Comune" 
                                                            CommandName='Sort' CommandArgument='COMUNE' runat="server" /> 
                                                        </td> 
                                                    </tr> 
                                                </table> 
                                            </HeaderTemplate> 
                                            <ItemTemplate> 
                                                <table cellspacing="0" width="100%"> 
                                                    <tr> 
                                                        <td style="width: 50%"> 
                                                            <%#Eval("PROVINCIA")%> 
                                                        </td> 
                                                        <td style="width: 50%"> 
                                                            <%#Eval("COMUNE")%> 
                                                        </td> 
                                                    </tr> 
                                                </table> 
                                            </ItemTemplate> 
                                            <ItemStyle HorizontalAlign="Center" /> 
                                        </telerik:GridTemplateColumn>                                    
                                        <telerik:GridTemplateColumn> 
                                            <HeaderTemplate> 
                                                <table style="width: 100%"> 
                                                    <tr> 
                                                        <td colspan="3" align="center"> 
                                                            <b>SUP. CATASTALE</b> 
                                                        </td> 
                                                    </tr> 
                                                    <tr> 
                                                        <td style="width: 34%" align="center"> 
                                                            <asp:LinkButton CssClass="Button" ID="btnHA1" Text="ha" ToolTip="Sort by HA" 
                                                            CommandName='Sort' CommandArgument='HA1' runat="server" /> 
                                                        </td> 
                                                        <td style="width: 33%" align="center"> 
                                                            <asp:LinkButton CssClass="Button" ID="btnARE1" Text="are" ToolTip="Sort by Are" 
                                                            CommandName='Sort' CommandArgument='ARE1' runat="server" /> 
                                                        </td>   
                                                        <td style="width: 33%" align="center"> 
                                                            <asp:LinkButton CssClass="btnCRE1" ID="LinkButton1" Text="cre" ToolTip="Sort by cre" 
                                                            CommandName='Sort' CommandArgument='CRE1' runat="server" /> 
                                                        </td>                                                                                                          
                                                    </tr> 
                                                </table> 
                                            </HeaderTemplate> 
                                            <ItemTemplate> 
                                                <table cellspacing="0" width="100%"> 
                                                    <tr> 
                                                        <td style="width: 34%"> 
                                                            <%#Eval("HA1")%> 
                                                        </td> 
                                                        <td style="width: 33%"> 
                                                            <%#Eval("ARE1")%> 
                                                        </td>   
                                                        <td style="width: 33%"> 
                                                            <%#Eval("CRE1")%> 
                                                        </td>                                                                                                        
                                                    </tr> 
                                                </table> 
                                            </ItemTemplate> 
                                            <ItemStyle HorizontalAlign="Center" /> 
                                        </telerik:GridTemplateColumn> 
                                        <telerik:GridBoundColumn DataField="METODOPRODDICHIARATO" HeaderText="Metodo" SortExpression="METODOPRODDICHIARATO"> 
                                        </telerik:GridBoundColumn> 
                                        <telerik:GridBoundColumn DataField="DTCESSAZIONECONV" HeaderText="Data Cessato" SortExpression="DTCESSAZIONECONV" DataFormatString="{0: dd/MM/yyyy}"> 
                                        </telerik:GridBoundColumn> 
                                        <telerik:GridTemplateColumn> 
                                            <HeaderTemplate> 
                                                <table style="width: 100%"> 
                                                    <tr> 
                                                        <td style="width: 100%" align="center"> 
                                                            <asp:LinkButton CssClass="Button" ID="btnOrient" Text="Orientamenti" ToolTip="Sort by Orientamenti" 
                                                            CommandName='Sort' CommandArgument='ORIENTAMENTO1' runat="server" /> 
                                                        </td>                                                                                                      
                                                    </tr> 
                                                </table> 
                                            </HeaderTemplate> 
                                            <ItemTemplate> 
                                                <table cellspacing="0" width="100%"> 
                                                    <tr> 
                                                        <td style="width: 25%"> 
                                                            <%#Eval("ORIENTAMENTO1")%> 
                                                        </td> 
                                                        <td style="width: 25%"> 
                                                            <%#Eval("ORIENTAMENTO2")%> 
                                                        </td>   
                                                        <td style="width: 25%"> 
                                                            <%#Eval("ORIENTAMENTO3")%> 
                                                        </td>   
                                                        <td style="width: 25%"> 
                                                            <%#Eval("ORIENTAMENTO4")%> 
                                                        </td>                                                                                                                                                                
                                                    </tr> 
                                                </table> 
                                            </ItemTemplate> 
                                            <ItemStyle HorizontalAlign="Center" /> 
                                        </telerik:GridTemplateColumn>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
                                    </Columns> 
                                    <DetailTables> 
                                        <telerik:GridTableView AutoGenerateColumns="false" Caption="Particella Appezzamenti" AllowSorting="false" 
                                            DataSourceID="objDSPart" Width="90%" PageSize="7"> 
                                            <ParentTableRelation> 
                                                <telerik:GridRelationFields DetailKeyField="IDUPO,IDNOTIFICA,IDAPPEZZAMENTO" MasterKeyField="IDUPO,IDNOTIFICA,IDAPPEZZAMENTO" /> 
                                            </ParentTableRelation> 
                                            <PagerStyle AlwaysVisible="false" /> 
                                            <Columns> 
                                                <telerik:GridBoundColumn SortExpression="IDIDPARTICELLA" HeaderText="Part." DataField="IDIDPARTICELLA" UniqueName="colIDIDPARTICELLA" AllowSorting="false"> 
                                                </telerik:GridBoundColumn>                                                      
                                                <telerik:GridBoundColumn SortExpression="SUPERFICIECONVENZ" HeaderText="Sup. Convenzionale" DataField="SUPERFICIECONVENZ" UniqueName="colSUPERFICIECONVENZ"> 
                                                </telerik:GridBoundColumn> 
                                                <telerik:GridBoundColumn SortExpression="SUPERFICIEBIO" HeaderText="Sup. Biologico" DataField="SUPERFICIEBIO" UniqueName="colSUPERFICIEBIO"> 
                                                </telerik:GridBoundColumn>    
                                                <telerik:GridBoundColumn SortExpression="SUPERFICIECONVERS" HeaderText="Sup. In Converzione" DataField="SUPERFICIECONVERS" UniqueName="colSUPERFICIECONVERS"> 
                                                </telerik:GridBoundColumn>                                      
                                            </Columns> 
                                        </telerik:GridTableView> 
                                    </DetailTables>                                      
                                </MasterTableView>                                
                            </telerik:RadGrid>   

i have 3 relation fields

w/ 1 relation field it always work but after i tried to add 2 more relation fields it stop on working
Mira
Telerik team
 answered on 31 May 2010
3 answers
209 views
Using BinaryImage, how can I show an emf image as Byte array from database on IE8? In the code, I have updated Photo column with emf image in CustomerPhotos table. The modified application does not show the emf image on IE8 but shows it on IE6/IE7 because the Content-Type is image/*.

(Q1) Is there any way to set image/x-emf to the Content-Type for BinaryImage?
(Q2) Is there the correct way to show an emf image in BinaryImage on IE8?

Best regards,
BaiH
Top achievements
Rank 1
 answered on 31 May 2010
1 answer
86 views
I'm looking for a way to have SlidingPanes come down from the top and in from the left, covering the same area.  Is this possible?
Svetlina Anati
Telerik team
 answered on 31 May 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?