Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
187 views
Hi All,
        I am using RadCombobox and I have to get selectedValue of radComboBox using frm.Page.Request["radCmbID"].

Previously
    The request object with asp:DropDown  is giving correct output i.e. it gives selectedValue of asp:DropDown.

eg- string defaultval = FRM.Page.Request["ASPDropID_drp"];    --- gives selectedValue.

But above code is fail for RadCombobox, If I used same code for radCombo it will give "selectedText".
So how can I get "selectedValue" of RadCombobox using "Request[]" Object ??????

Its very urgent...
waiting for reply...
Shinu
Top achievements
Rank 2
 answered on 27 Jan 2011
1 answer
84 views
Hi,

I was just wondering if it is possible to have a border over Line Chart series ? 

I can set the appearance for Line and it modifies the Line based on Solid, Dash, Dot etc fills... Can I have a Solid line with a border defined with a different color ?
Evgenia
Telerik team
 answered on 27 Jan 2011
1 answer
275 views
I installed Telerik.Web.UI_2010_3_1317_Trial and Telerik_AJAK_controls_2010_3_1317_for_SharePoint_2010_Trial. I have a Visual Web Part Project with a reference to Telerik.Web.UI for .NET 3.5 and some controls. When I debug this project and I try to add the web part to a page, I get this parse error:

Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The system cannot find the file specified.
Line 9:  <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
I've checked Windows/assembly for the dll's and they're present. I was also getting this error before I ran the SP installer.
Georgi Tunev
Telerik team
 answered on 27 Jan 2011
2 answers
226 views
When you have a asp.net textbox control defined in RadInputManager as TextBoxSetting and

If you disable the textbox control client-side prior to postback, the value is lost on postback.

Consider the following code:
<%@ Page Language="C#" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 
<script runat="server">
 
    protected void btnGo_Click(object sender, EventArgs e)
    {
        Response.Write(tbPayeeLine1.Text);
    }
</script>
 
<head id="Head1" runat="server">
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>RadControls for ASP.NET AJAX</title>
      
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
  
<telerik:RadInputManager ID="RadInputManager1" runat="server">
 
    <telerik:TextBoxSetting BehaviorID="PayeeLine1Behavior" EmptyMessage="Enter Payee / Beneficiary Name Here" ErrorMessage="Payee/Beneficiary Required"
        Validation-IsRequired="true" Validation-ValidationGroup="ValGrpPayeeInfo">
        <TargetControls>
            <telerik:TargetInput ControlID="tbPayeeLine1" />
        </TargetControls>
    </telerik:TextBoxSetting>
    
</telerik:RadInputManager>
 
<asp:TextBox ID="tbPayeeLine1" name="payee" runat="server" MaxLength="33" Width="300px" />
<asp:Button ID="btnDisable" runat="server" Text="Disable" OnClientClick="DisableTextBox();return false;"></asp:Button>
<asp:Button ID="btnGo" runat="server" Text="Go" onclick="btnGo_Click"></asp:Button>
 
<script type="text/javascript">
 
    function DisableTextBox() {
        debugger;
        var tb = $find("<%= RadInputManager1.ClientID %>").get_targetInput("<%= tbPayeeLine1.ClientID %>");
        //tb.disable()
        alert(tb.get_value());
        document.getElementById('<%= tbPayeeLine1.ClientID%>').disabled = true;
    }
  
</script>
  
</form>
</body>
</html>

Pavel
Telerik team
 answered on 27 Jan 2011
3 answers
51 views
Howdy,

I have the MOSSRadEditor installed in my WSS3 environment, so far so good. Is there a way to specify where all uploaded images can be saved to? I don't want to give the user the option to upload them anywhere, just to a folder I specify.

Thanks!
Stanimir
Telerik team
 answered on 27 Jan 2011
1 answer
81 views
HelloTelerik Team,

I am using 2009.1.527.20 Telerik version of AJAX controls. I have used a RadWindow which on moving displays a white screen. However i was able to resolve the issue by implementing the resolution mentioned in one of the posts http://www.telerik.com/community/forums/aspnet-ajax/splitter/white-screen-when-moving-radwindow.aspx. After providing the resolution, i could see that in IE 7, the movement of RadWindow with mouse is not as smooth as in Firefox , also we can see flickering in the background sometimes when we move quickly, which is not present in Firefox. Please advice.

This is the code i have used to display the RadWindow.

   var oWnd = radopen("ClientUpload.aspx" , null);
   oWnd.setSize(500,350);
   oWnd.set_modal(true);         
   oWnd.set_behaviors(Telerik.Web.UI.WindowBehaviors.Move +
   Telerik.Web.UI.WindowBehaviors.Close  );

I have implemented OnClientDragStart event handler as mentioned in the above posts.

Thanks,
Divya
Svetlina Anati
Telerik team
 answered on 27 Jan 2011
3 answers
508 views
Hi,

I have created a RadWindow in a user buttonClick event:
Protected Sub Button3_Click(ByVal sender As Object, ByVal e As System.EventArgs)
Dim newWindow As Telerik.Web.UI.RadWindow = New Telerik.Web.UI.RadWindow()
        Dim hyper As String
        hyper = "GeoCode.aspx?field1=" + Street + "&field2=" + City + "&field3=" + Zip
        newWindow.NavigateUrl = hyper
        newWindow.Top = Unit.Pixel(22)
        newWindow.Left = Unit.Pixel(0)
        newWindow.Width = 300
        newWindow.Height = 800
        form1.Controls.Add(newWindow)
        newWindow.VisibleOnPageLoad = True
 
End Sub
the Url is working properly and the page is loading properly, However if i try and use newWindow.Visible = true rather than VisibleOnPageLoad = true the window does not show. my problem resides in the fact that even after I use the close event in the popup windows page the popup is loaded again once the page is loaded because of the VisibleOnPageLoad = true.

I have tried using:
function CloseFunction()
         {
          var oWnd = GetRadWindow();
           oWnd.Close();
           oWnd.VisibleOnPageLoad = false;
           oWnd.BrowserWindow.location.reload(); 
            
         
         
         }
in the other page when closing the window however it does not work. Any suggestions would be greatly appreciated

Thank you,
Georgi Tunev
Telerik team
 answered on 27 Jan 2011
0 answers
76 views
Hi,

On the system if antivirus is running, most of the time files are not getting uploaded and getting failed.

Please advise the solution.

-Sanjivani
Sanjivani
Top achievements
Rank 1
 asked on 27 Jan 2011
1 answer
152 views
I'm trying to re-create a live site from a client's mock up and it requires the tabs and the tab text to be vertical but I don't seem to be able to flip the tab strip to do this and I was wondering if I was trying to accomplish something that can't be done.

I've been able to get the tabs to orient vertically but the text still reads horizontally.
Shinu
Top achievements
Rank 2
 answered on 27 Jan 2011
1 answer
123 views
I my code bellow in the delete button i have OnClientClick="return confirm('Are you sure you want to delete?')
and it works great. However if no check boxes are checked and delete button is pressed i want to display different validation message. 

An example on how to check if any check boxes are checked from client side would be great.

<telerik:RadGrid GridLines="None" ID="grdInventory" AllowMultiRowSelection="True"
Style="border: 1" runat="server" AllowPaging="True" AllowSorting="True" PageSize="10"
Width="95%" Height="220px" AllowAutomaticDeletes="True" EnableLinqExpressions="false"
OnNeedDataSource="grdInventory_NeedDataSource" OnItemCommand="grdInventory_ItemCommand">
<MasterTableView AutoGenerateColumns="False" Width="100%" CommandItemDisplay="Bottom" DataKeyNames="Id">
    <CommandItemTemplate>
        <div style="padding: 5px 5px;">
            <asp:LinkButton ID="btnAdd" runat="server" OnClick="btnAdd_Click">Add</asp:LinkButton>
             
            <asp:LinkButton ID="btnDelete" runat="server"          
                OnClientClick="return confirm('Are you sure you want to delete?');" OnClick="btnDelete_Click">
                    Delete</asp:LinkButton>
        </div>
    </CommandItemTemplate>
    <Columns>
        <telerik:GridClientSelectColumn UniqueName="SelectColumn">
            <HeaderStyle Width="30px" />
        </telerik:GridClientSelectColumn>  
        <telerik:GridBoundColumn DataField="SizeName" DataType="System.String" HeaderText="Size"
            UniqueName="SizeName">
            <HeaderStyle Width="100px" />
            <ItemStyle Wrap="False" />
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataFormatString="{0:d}" DataField="Date" DataType="System.DateTime"
            HeaderText="Reserved Date" SortExpression="Date" UniqueName="Date">
            <HeaderStyle Width="100px" />
            <ItemStyle Wrap="False" />
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Available" DataType="System.String" HeaderText="Available"
            UniqueName="Available">
            <HeaderStyle Width="100px" />
            <ItemStyle Wrap="False" />
        </telerik:GridBoundColumn>
        <telerik:GridButtonColumn CommandName="Delete" ButtonType="ImageButton"
            ConfirmText="Are you sure you want to delete?"
            UniqueName="DeleteColumn" ImageUrl="../../Images/MediaTree/DeleteIcon.png">
            <HeaderStyle Width="30px" />
        </telerik:GridButtonColumn>
    </Columns>
</MasterTableView>
</telerik:RadGrid>
Princy
Top achievements
Rank 2
 answered on 27 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?