Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
74 views
When I set the  EnableViewState="false" to the radgrid. The viewstate becomes smaller. And the grid works well, the paging also works except pagesize dropdownlist.

When I select 10 items per page, 20 items per page, it works well. But When I select pagesize per 50, it doesn't work,

We want to use this in our project to improve the performance. 

Can you fix this for me as soon as possible? 
Kostadin
Telerik team
 answered on 07 Dec 2012
1 answer
369 views
I have a RadTooltip that is placed inside of a RadGrid's header that is being displayed inside of a RadWindowManager.  When the RadWindow gets resized to a smaller area, the grid and it's columns resize appropriately however the expanded tooltip's position stays the same; which causes it to be hidden outside the bounds of the RadWindow because the RadWindow's dimensions are smaller.  I have the tooltip configured to be placed relative to the element that makes it display but it doesn't seem to stay relative to that element in the case of the radwindow shrinking in size.  It looks to be absolutely positioned once popped out.

Is there a solution to this issue?
Marin Bratanov
Telerik team
 answered on 07 Dec 2012
2 answers
70 views
This morning I was informed about the new version of your controls [Q3 2012 SP1 (version 2012.3.1205)] and upgraded my project accordingly.

I immediately noticed that at least two things are broken in the new version of the Treeview (please see screenshot) :
  1. The expanded treeview no longer respects the bottom boundary of the treeview container.
  2. The vertical alignment of the node text has jumped up several pixels, at least in IE9.

I will continue doing further testing but am praying that you will fix these two problems asap.

Sincerely,

Robert W.
Vancouver, BC

Boyan Dimitrov
Telerik team
 answered on 07 Dec 2012
1 answer
66 views
Hi i have a problem formatting my currency.
i have set the culture to polish and type to currency ( i want to dynimc change cultures). On the client side the text box displays properly the format (i mean depending on the culture - the number divided by . or , and the currency) but on the server side. This were the problem begins:

When i get the text from the textbox (for polish) despite i have entered a number in a format like this 555 555,00 i get using mynumerictextbox.Text instead of 555 555,00 a 555 555.00
and when i try to insert text to textbox it changes the 55,55 to 5555.
Is there any whay to make it work the same way as it displays data on the client side?
Eyup
Telerik team
 answered on 07 Dec 2012
1 answer
88 views
Hi,
I want to know which object telerik can drag and drop. I have to create a map of a room and choose the location of the tables. The choice of the positions of the tables to make the customer then I have to give the possibility to insert an object images representing the tables and be able to move these images and then save the selected position. I think I have the coordinates of the objects (tables).
Any suggestions?

Bye
Maria Ilieva
Telerik team
 answered on 07 Dec 2012
7 answers
322 views
Hello,

I'm trying to create a custom skin for our RadGrids.
I would like to have the entire Vista skin except for the selected row, that needs to be orange like in the Office2007 skin.

What i do is create a new custom skin based on the Vista template, select the DataItem, then choose the Selected tab and change the background color to the orange color i looked up in the Office2007 skin. At this point i only get a small orange line at the bottom of the row. I removed the sprite.gif and downloaded the sprite.gif from the Office2007 skin. Uploaded it into the Vista skin and the entire row orange instead of only the bottom part.

My question is that we use a hierarchial grid and with the skin i made the expand/collapse button disappears when i select a row. The whole width of the row is orange but i would like the column where you see the expand/collapse button to keeps it's original color.
I've played around in the VSB but i can't seem to find the right property i need to set for this.

Anyone any advice on how to do this?
Galin
Telerik team
 answered on 07 Dec 2012
1 answer
103 views
How can i set focus on a button which is inside contenttemplate of radwindow? 
Shinu
Top achievements
Rank 2
 answered on 07 Dec 2012
4 answers
158 views
hello,

i have a web page on which 3 user controls A,B,C are registered. 
RadTab controlis used and User controls A and B is added on RadPageView 1 and 2 respectively.
User Control C also exists on the same web page but not on the RadTab.
By default, RadPageView 1 i.e. User Control A is selected.


On User Control B there exists a repeater to which some rows are binded.
On User Control C, there is a link button. When it is clicked, RadPageView 2 i.e. User Control B should be selected 
and the repeater rows shud be filtered accordingly. Now, the problem is that when the link button is clicked 
the repeater is having the correct number of rows but the RadPageView 2 is showing the correct number of rows 
till i click the link button twice.

Please help.

Code Snippet:
WebPage.aspx
=============
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
<%@ Register TagPrefix="UserControlA" TagName="UserControlA" %>
<%@ Register TagPrefix="UserControlB" TagName="UserControlB" %>
<%@ Register TagPrefix="UserControlC" TagName="UserControlC" %>
 
 
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
 
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 
<div class="content">
 
  <div class="menu-1">
      <telerik:RadTabStrip runat="server" ID="tabStrip" Skin="" MultiPageID="RadMultiPage1">
           <Tabs > <telerik:RadTab Selected="true" SelectedCssClass="active-1" Text="Tab 1" TabIndex="0"></telerik:RadTab>
                  <telerik:RadTab SelectedCssClass="active-1" Text="Tab 2" TabIndex="1" ></telerik:RadTab>
          </Tabs>
      </telerik:RadTabStrip>
 </div>
 <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" CssClass="multiPage">
<telerik:RadPageView ID="rpvUserControlA" runat="server"><UserControlA:UserControlA runat="server" id="UserControlA" /></telerik:RadPageView>
<telerik:RadPageView ID="rpvUserControlB" runat="server"><UserControlB:UserControlB runat="server" id="UserControlB" /></telerik:RadPageView>
</telerik:RadMultiPage>
 
</div>
 
<div class="right-sidebar">
<UserControlC:UserControlC runat="server" id="UserControlC" />
</div>
</asp:Content>
UserControlB.ascx
=================
<asp:Repeater ID="Repeater1" runat="server">
      </asp:Repeater>
 
UserControlB.ascx.cs
====================
 
  public void LoadPage(UserControlB uc)
        {
            Page_Load(uc, null);
        }
 
 protected void Page_Load(object sender, EventArgs e)
 {
   if (Session["ID"] != null)
   {
            int id = (int)Session["ID"];
            DataTable dt = Fetch records from database based on id
            Repeater1.DataSource = dt;
            Repeater1.DataBind();
   }
 }
 
UserControlC.ascx
==================
 
<asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click" >Show Details</asp:LinkButton>
 
UserControlC.ascx.cs
====================
 
   protected void LinkButton1_Click(object sender, EventArgs e)
        {
           Session["ID"] = "23829839";
 
            UserControlB uc = (UserControlB)this.Page.LoadControl("~/UserControlB.ascx");
            uc.LoadPage(uc);
 
            RadTabStrip radTabs = (RadTabStrip)cpHolder.FindControl("tabStrip");
            RadMultiPage radMultiPage = (RadMultiPage)cpHolder.FindControl("RadMultiPage1");
            radTabs.Tabs[0].Selected = false;
 
            radTabs.SelectedIndex = 1;
            radTabs.Tabs[1].PageView.Selected = true;
            radTabs.MultiPage.SelectedIndex = 1;
            radTabs.Tabs[1].Enabled = true;
            radMultiPage.SelectedIndex = radTabs.SelectedIndex;
       }

Kalina
Telerik team
 answered on 07 Dec 2012
1 answer
64 views
I have a number of rad grids in my project that go to edit screens on selected index changed, which in turn occurs when a row is clicked with "AllowRowSelect" to true.  No problem so far.
Now I have a requirement to allow the user to re-order the rows using the radgrids drag and drop capability.  I followed the example and this works fine, too.
The problem occurs when I try to combine the two functions in one grid.  The act of clicking to begin the drag process changes the selected index and the redirect to the edit occurs.  I would like to be able to click anywhere on the row other than the drag handles and have it go to edit, but if I click the drag handle, allow the drop and re-ordering.
Can I use the same grid to achieve both purposes?



Eyup
Telerik team
 answered on 07 Dec 2012
4 answers
984 views
Hi:

I have read
all the threads regarding this issue, but to no avail so I could replicate, including http://www.telerik.com/help/aspnet-ajax/upload-manipulating-files.html demo and I do not understand, I have a database SQL Server 2008, a table with a field called Docs varbinary (MAX), in my application (c# - VS2010) I have a radgrid, use a template field AsyncUpload control, do not know how I have to configure it to save a file to the base data, also not like I have to put in item template to show me the file name and click download, if someone could give me a simple example o explain how to do, greatly appreciate it.

Ps.: I'm using RadControls for ASP.NET AJAX Q2 2012.

Thank you.
Plamen
Telerik team
 answered on 07 Dec 2012
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?