Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
229 views
Hi Everyone,
My problem goes like these.
i ve two dockzone of different height and width based on raddocks in them.
when i drag and drop the dock from one webzone to other, these works fine.
along with these i need to exchange two dockzones height and width whilei drag and drop docks.
Do suggest.

Pero
Telerik team
 answered on 29 Apr 2010
3 answers
210 views
I have a RadSlidingPane with its PersistScrollPosition set to true.  However, when I scroll to a particular position and collapse the SlidingPane and later when I open it, it takes me to the top of the content in the SlidingPane.  Am I missing something?

I'm using Q3 2009 SP2

Here is my .aspx code

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Telerik._Default" %> 
 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head id="Head1" runat="server">  
<style type="text/css">  
html, body, form  
{  
    height: 100%;  
    margin: 0px;  
    padding: 0px;  
    overflow: hidden;  
    font-size: 9px;  
    font-family: Verdana;  
}  
</style> 
 
</head> 
<body> 
    <form id="frmDefault" runat="server">  
          
        <asp:ScriptManager ID="smgrMain" runat="server" /> 
 
        <div id="dvMain" style="height: 100%;">  
            <telerik:RadSplitter   
                ID="splMain"   
                runat="server"   
                Orientation="Horizontal"   
                Height="100%" 
                Width="100%" 
                BorderSize="0" 
                VisibleDuringInit="false"   
                ResizeWithBrowserWindow="true"   
                Skin="Office2007">  
                <telerik:RadPane   
                    ID="paneTop"   
                    runat="server"   
                    Height="50"   
                    Locked="true" 
                    Scrolling="none">  
                    Header  
                </telerik:RadPane> 
                <telerik:RadPane   
                    ID="paneLeftRight"   
                    runat="server"   
                    Scrolling="None"   
                    MinWidth="500">  
                    <telerik:RadSplitter   
                        ID="splLeftRight"   
                        runat="server"   
                        Skin="Office2007" 
                        VisibleDuringInit="false"   
                        ResizeWithBrowserWindow="true" 
                        ResizeWithParentPane="true" 
                        LiveResize="true">  
                        <telerik:RadPane   
                            ID="paneLeft"   
                            runat="server"   
                            Width="20" 
                            MinWidth="120"   
                            MaxWidth="300"   
                            Scrolling="None">  
                            <telerik:RadSlidingZone ID="slzLeft" runat="server" ClickToOpen="false">  
                                <telerik:RadSlidingPane   
                                    ID="slpFirst"   
                                    runat="server"   
                                    Title="First"   
                                    DockText="First" 
                                    UndockText="First"   
                                    PersistScrollPosition="true" 
                                    Width="250">  
                                    <asp:Literal ID="litTest" runat="server" /> 
                                </telerik:RadSlidingPane> 
                                <telerik:RadSlidingPane ID="slpSecond" runat="server" Title="Second" Width="250px"/>  
                            </telerik:RadSlidingZone> 
                        </telerik:RadPane> 
                        <telerik:RadSplitBar ID="spbLeftRight" runat="server" /> 
                        <telerik:RadPane ID="paneRight" runat="server" ContentUrl="about:Blank" Scrolling="Both"/>  
                    </telerik:RadSplitter> 
                </telerik:RadPane> 
            </telerik:RadSplitter> 
        </div> 
    </form> 
</body> 
</html> 
 

And my codebehind

protected void Page_Load(object sender, EventArgs e)  
        {  
            string strData = string.Empty;  
            for (int intCounter = 0; intCounter < 500; intCounter++)  
            {  
                strData += intCounter + "<br />";  
            }  
            litTest.Text = strData;  
        } 
Jones
Top achievements
Rank 1
 answered on 29 Apr 2010
2 answers
163 views
I want my textbox to accept empty string or a string that matches my regular expression. I tried setting the IsRequiredFields to false but still it doesnt work. Thanks
Web team
Top achievements
Rank 1
 answered on 29 Apr 2010
1 answer
127 views
can anyone tell me the telerik themes for asp.net button, checkbox, radiobutton, linkbutton, image, image button, panel, tables, hyperlink, dropdown controls and for asp.net page.
Sebastian
Telerik team
 answered on 29 Apr 2010
1 answer
96 views
Hi guys,
I have an issue with a grid (2010 Q1) when I am using IE8. it seems to be a resize problem because the whole grid shrank to 10px height, but if I run it IE8 in compatibility mode, works fine. I attached 2 picture where you can see my problem.
Also, here's my code:

 

 

<telerik:RadSplitter ID="NestedSplitter" runat="server" Skin="Outlook" Height="100%" Width="100%">

 

 

 

<telerik:RadPane ID="ContentPane" runat="server" Height="100%" Width="100%" PersistScrollPosition="False">

 

 

 

<telerik:RadGrid

 

 

 

ID="RadGrid1"

 

 

 

runat="server"

 

 

 

AllowMultiRowSelection= "True"

 

 

 

OnItemCreated="RadGrid1_ItemCreated"

 

 

 

DataSourceID="ObjectDataSource1" GridLines="None"

 

 

 

DataKeyNames="WorkOrderID" AllowFilteringByColumn="True"

 

 

 

AllowSorting="True" Height="70%" Skin="Vista" AllowPaging="True">

 

 

 

<PagerStyle Mode="NextPrevNumericAndAdvanced"

 

 

 

AlwaysVisible="True" />

 

 

 

<MasterTableView

 

 

 

CommandItemDisplay="Top"

 

 

 

PageSize="100" DataSourceID="ObjectDataSource1" DataKeyNames="WorkOrderID"

 

 

 

InsertItemPageIndexAction="ShowItemOnCurrentPage" ShowFooter="True"

 

 

 

Width="99%" TableLayout="Fixed">

 

 

 

<RowIndicatorColumn Visible="False">

 

 

 

<HeaderStyle Width="20px" />

 

 

 

</RowIndicatorColumn>

 

 

 

<ExpandCollapseColumn Visible="False" Resizable="False">

 

 

 

<HeaderStyle Width="20px" />

 

 

 

</ExpandCollapseColumn>

 

 

 

<Columns>

 

 

 

<telerik:GridClientSelectColumn UniqueName="ClientSelectColumn"

 

 

 

ItemStyle-Width="20px" HeaderStyle-Width="22px">

 

 

 

<HeaderStyle Width="22px" />

 

 

 

<ItemStyle Width="20px" />

 

 

 

</telerik:GridClientSelectColumn>

 

 

 

<telerik:GridTemplateColumn

 

 

 

UniqueName="TemplateEditColumn" AllowFiltering="False" ItemStyle-Width="20px" HeaderStyle-Width="22px" HeaderText="Edit">

 

 

 

<ItemTemplate>

 

 

 

<asp:ImageButton ToolTip="Edit Record" ImageUrl="~/Images/Edit.gif" ID="btn" runat="server"/>

 

 

 

</ItemTemplate>

 

 

 

<HeaderStyle Width="22px" />

 

 

 

<ItemStyle Width="20px" Font-Size="XX-Small"/>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridBoundColumn DataField="WorkOrderID" HeaderText="WorkOrderID"

 

 

 

UniqueName="column2" Visible="False">

 

 

 

</telerik:GridBoundColumn>

 

 

 

</Columns>

 

 

 

<EditFormSettings>

 

 

 

<PopUpSettings ScrollBars="None"></PopUpSettings>

 

 

 

</EditFormSettings>

 

 

 

<PagerStyle Mode="NextPrevAndNumeric" Position="TopAndBottom"

 

 

 

AlwaysVisible="True" />

 

 

 

<HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"

 

 

 

Font-Strikeout="False" Font-Underline="False"

 

 

 

Wrap="false" Font-Size="Small" />

 

 

 

<CommandItemTemplate>

 

 

 

<div class="bgmd2" style="padding:0px 0px;" >

 

 

 

 

</div>

 

 

 

</CommandItemTemplate>

 

 

 

</MasterTableView>

 

 

 

<ClientSettings>

 

 

 

<Selecting AllowRowSelect="True" />

 

 

 

<Scrolling AllowScroll="true" UseStaticHeaders="true" SaveScrollPosition="true"/>

 

 

 

</ClientSettings>

 

 

 

</telerik:RadGrid>

 

 

 

</telerik:RadPane>

 

 

 

</telerik:RadSplitter>

It works fine for IE8 and IE8 compatibility mode when I change Height="70%" to Height="300px", but I like to use percentage. 


Any idea what could be causing this issue.

Thanks,
-Guillermo

 

Dimo
Telerik team
 answered on 29 Apr 2010
3 answers
349 views

Hi,

i have one combobox i.e.

 <telerik:RadComboBox ID="Fund" runat="server"
                            DataSourceID="Source" DataTextField="Code" DataValueField="Currency" 
                            Width="55px" Skin="Outlook" OnClientSelectedIndexChanged="OnClientSelectedIndexChanged1" SelectedValue='<%# Bind("Fund") %>'
                            BorderWidth="1px">
                       </telerik:RadComboBox> 

now the dropdown is populating with 3 values on page load.e.g 1 , 2 and 3
whenever i am selecting 1 and 2 it is ok but when selecting 3 it automatically takes 1.
strange problem but i dont have any clue why this is happening.
but if  replace DataValueField = "currency" with DataValueField="code" then it is working absolutely fine.

please help me as i dont have any clue why it is behaving like so.

waiting for reply.

thanks in advance.

Veronica
Telerik team
 answered on 29 Apr 2010
3 answers
193 views
Hi all,

        I am new to telrik rad controls. i have a radgrid with grid bound column. i am using a drop down list as filter for this column.
i have achieved this by giving a radcombobox inside the filter template of the column. i have set the datasource id of the drop down to an object data source that fetches data from my business logic layer in the properties window.

The contents of my drop down should vary based on the user who sees the page. i can have multiple object datasource for each user. but i am not sure how to dynamically change the datasource id of this drop down filter from code behind. Please help.

Regards,
Saravanan K
Pavlina
Telerik team
 answered on 29 Apr 2010
1 answer
107 views
Greetings. Please forgive if this is not the correct place to post. I am NOT the developer, just the network admin, and am getting this issue second hand from the developer. Below is his email to me explaining the situation.

This relates to two different machines. One is a 32 bit Windows machine we use for development.  The other is a 64 bit windows server running IIS 7 that is our web server. 

Is there something that has to happen to allow IIS to work with Telerik?

If you require more information please ask. We are new to Telerik and this forum. Thanks in advance for your patience.

From Developer::::
The issue with Telerik fileupload:
The control works fine from the development environment (Running in debug mode) but when deployed to IIS 7 the control will show and allow you to select the file but as soon as you click the submit button it will throw an exception. I can't see the exception but it looks like 404 can't locate the resource.
Genady Sergeev
Telerik team
 answered on 29 Apr 2010
1 answer
51 views
I have a radgrid inside the radwindow, which is shown at the bottom of the long (vertical) page. After I've fired the insert command, the MAIN page, not the window, is beeing scrolled to the top. In Internet Explorer there is all ok, but in firefox - is not. Ajax for this grid is enabled.
Pavlina
Telerik team
 answered on 29 Apr 2010
6 answers
173 views
Hi All,

Have a grid which works fine.

In the PagerSyle have set Mode="Slider". but the "Page:1 out of 1 pages" appears in the next line.

How to make it to display in the same line.

-Anto
Dimo
Telerik team
 answered on 29 Apr 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?