Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
136 views

Hello,

I have the following situation in Internet Explorer 7 (setting IE9 in Internet Explorer 7 browser mode will also work).
Situation:
        <telerik:RadTabStrip ID="SomeTabStrip" runat="server" SelectedIndex="0" MultiPageID="SomeMultiPage">
            <Tabs>
                <telerik:RadTab ID="Tab1" runat="server" Text="Some Tab" PageViewID="Page1" />
                <telerik:RadTab ID="Tab2" runat="server" Text="Some Other Tab" PageViewID="Page2" />
            </Tabs>
        </telerik:RadTabStrip>
        <telerik:RadMultiPage ID="SomeMultiPage" runat="server" SelectedIndex="0">
            <telerik:RadPageView ID="Page1" runat="server">
                Page1 with a numeric text box:<br />
                <telerik:RadNumericTextBox ID="RadNumericTextBox1" runat="server" ShowSpinButtons="true" />
            </telerik:RadPageView>
            <telerik:RadPageView ID="Page2" runat="server">
                Page2 with a numeric text box:<br />
                <telerik:RadNumericTextBox ID="RadNumericTextBox2" runat="server" ShowSpinButtons="true" />
            </telerik:RadPageView>
        </telerik:RadMultiPage>

As shown; tabstrip, two multiview pages, and on each page a radnumeric with spin buttons switched on.When the 2nd tab is selected the spinbutton position is off. Is there a way to prevent this?

 

Regards,
Frank Witte

Edit: I'm using Telerik 2012 Q2.
Frank Witte
Top achievements
Rank 1
 answered on 09 Jul 2012
1 answer
117 views
Hi all,

I'm developing a system at present, and one of the requirements is that the site can be resized using a selector.  I can see that there have been discussions about this in the past and that telerik recommend that 3 different custom skins be developed and have a switching mechanism to achieve this.  My graphic designer isn't very happy about having to make 3 skins, so I'm trying this approach with jquery:

<script type="text/javascript">
      $(document).ready(function () {
          $("#textZoom1").click(function () {
              $("body").css("zoom", "1");
              $.cookie("HRI-ZoomLevel", "1");
          });
 
          $("#textZoom2").click(function () {
              $("body").css("zoom", "1.1");
              $.cookie("HRI-ZoomLevel", "1.1");
          });
 
          $("#textZoom3").click(function () {
              $("body").css("zoom", "1.2");
              $.cookie("HRI-ZoomLevel", "1.2");
          });
 
          var zoomLevel = $.cookie("HRI-ZoomLevel");
          if (zoomLevel != null) {
              $("body").css("zoom", zoomLevel);
          }
      });
  </script>


When I do this, the buttons (and tabs) look slightly wrong as demonstrated in the attachments (using the demo site)

I can adjust the padding to the background position of the button and apply a different css class to the body for each zoom level, but this just seems messy.

Is there a fix for this issue, or would you recommend that I force my designer to make 3 skins?

Thanks for your time.
Bozhidar
Telerik team
 answered on 09 Jul 2012
1 answer
76 views
Is it possible to apply filtering on a GridTemplateColumn which has a listbox in the ItemTemplate?

<telerik:GridTemplateColumn UniqueName="Col1" HeaderText="Column 1">
    <ItemTemplate>
        <telerik:RadListBox ID="lbMyListBox" runat="server">
        </telerik:RadListBox>
    </ItemTemplate>
</telerik:GridTemplateColumn>

I'm attempting to implement the example shown here: http://www.telerik.com/support/kb/aspnet-ajax/grid/google-suggest-style-filtering-in-radgrid.aspx
Maria Ilieva
Telerik team
 answered on 09 Jul 2012
5 answers
156 views
Are 2+ GB file uploads possible using the Telerik upload control?

Also, a timeline for implementing this (if not already) would be appreciated. With the advent of IIS7 and the currrent modern browsers there doesn't seem to be a good reason why this isn't possible.
Genady Sergeev
Telerik team
 answered on 09 Jul 2012
5 answers
461 views
Hi,

is there a way to disable the collapse / expand button in the GridGroupHeaderItem in the RadGrid? Or hide it entirely?

/Lars
Shinu
Top achievements
Rank 2
 answered on 09 Jul 2012
2 answers
576 views
Hi,

Trying to use an updatePanel in a ListView, I've got a problem

If I'm using this code on a page, it's working fine :
<asp:linkButton ID="Button1" Text="Time display" OnClick="Button1_Click" runat="server"  />
<br />
<asp:UpdatePanel ID="UpdatePanel1" UpdateMode="Conditional" ChildrenAsTrigger="true" runat="server">
    <Triggers>
        <asp:AsyncPostBackTrigger ControlID="Button1" />
    </Triggers>
    <ContentTemplate>
        <asp:PlaceHolder ID="monPh" runat="server"></asp:PlaceHolder>
    </ContentTemplate>
</asp:UpdatePanel>

And the code.behind
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs)
    Dim myUC As Control = LoadControl("/usercontrols/BrowseMedia/browseDetails.ascx")
    monPh.Controls.Add(myUC)
End Sub

The control "BrowseDetails.ascx" just displays the current date/time (eg now()).

But, trying to include this in a RadListView, it doesn't work at all. Am I doing something wrong or isn't is possible ? 

Thank you,
Andrey
Telerik team
 answered on 09 Jul 2012
1 answer
242 views
Hi,
I have a rad grid that contains two columns for StartDate and EndDate with RadDatePickers.
i want to compare that the date selected in "EndDate" should not be less than the date selected in "StartDate"
or start date should be less than end date.
How can i compare the both the dates in grid.My column type is GridTemplateCoulmn and both the Start and End date pickers are in ItemTemplate.
below is my code.

                 <telerik:GridTemplateColumn HeaderText="Start" UniqueName="fispersrt" DataField="fispersrt"
                                Visible="true" FilterControlWidth="78%" AllowFiltering="true">
                                <ItemTemplate>
                                    <telerik:RadDatePicker ID="rdDtStrtpkr" runat="server" SelectedDate='<%#Eval("fispersrt")%>'>
                                    </telerik:RadDatePicker>
                                </ItemTemplate>
                                <FooterTemplate>
                                    <telerik:RadDatePicker ID="rdDtFootrStrtpkr" runat="server">
                                    </telerik:RadDatePicker>
                                </FooterTemplate>
                            </telerik:GridTemplateColumn>
                            <telerik:GridTemplateColumn HeaderText="End" UniqueName="fisperend" DataField="fisperend" FilterControlWidth="78%" AllowFiltering="true">
                                <ItemTemplate>
                                    <telerik:RadDatePicker ID="rdDtEndpkr" runat="server" SelectedDate='<%#Eval("fisperend")%>'>
                                    </telerik:RadDatePicker>
                                </ItemTemplate>
                                <FooterTemplate>
                                    <telerik:RadDatePicker ID="rdDtFootrEndpkr" runat="server">
                                    </telerik:RadDatePicker>
                                </FooterTemplate>
                            </telerik:GridTemplateColumn>

Thanks in Advance.
Shinu
Top achievements
Rank 2
 answered on 09 Jul 2012
1 answer
84 views
Hi,
I've just started using RadCharts.
A legend is rendered like image and I can't to select text from the legend and for instance to copy. 
Is any way to render the legend as text?
Peshito
Telerik team
 answered on 09 Jul 2012
4 answers
193 views
Hi

I have created a image gallery using RadListView ClientSide Binding. I am using the ASMX webservice to populate the data. I assume the call is asynchronious so I need to show some LoadingPanel to user to wait for response. I tried using the RadAjaxLoadingPanel, but didnt work I think because of the client side binding .

Is there any way to do it?? 


Thanks

Vitalij
Vitalij
Top achievements
Rank 1
 answered on 09 Jul 2012
2 answers
150 views
Firstly I thought that I have a problem with RadTabStrip (this question) but after simplifying the question I found out that the problem is arising from RadGrid so here is the code to reproduce the problem :

Here is the web form code :

<body>
    <form id="form1" runat="server">
    <div>
        <asp:Button runat="server" ID="b1" OnClick="b1_OnClick" Text="Create Grid" />
        <asp:ScriptManager runat="server">
        </asp:ScriptManager>
        <asp:PlaceHolder runat="server" ID="ph1"></asp:PlaceHolder>
    </div>
    </form>
</body>

And here is the code behind :

protected void b1_OnClick(object sender, EventArgs e)
{
    var grid = new RadGrid
                   {
                       AllowSorting = true,
                        
                       DataSource = new List<string> { "abc", "def", "ghi", "klm" }
                   };
 
    ph1.Controls.Add(grid);
}

When I sort the only column of the grid column it causes the grid to disappear ! Is there any scientific reason for this disappearing ?

What have I missed in my code ?

Thank you for your consideration.


MahMah
Top achievements
Rank 1
 answered on 09 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?