Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
104 views
Hi,

I have 2 related comboboxes which works perfectly without AJAXManager; but when you turn on the AJAXManager, it fires the event but the second combobox is not clickable or nothing happens (no dropdown) when clicking the dropdown button. The controls are within a ASCX page that is loaded dynamically into a RADMultipage PageView during runtime.

<div>
      <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"
          EnablePageHeadUpdate="False">
          <AjaxSettings >
              <telerik:AjaxSetting AjaxControlID="cboApplication" EventName="SelectedIndexChanged">
                  <UpdatedControls>
                      <telerik:AjaxUpdatedControl ControlID="cboComponents" />
                  </UpdatedControls>
              </telerik:AjaxSetting>
          </AjaxSettings>
      </telerik:RadAjaxManager>
 
  </div>
      <div class="contents">
          <table>
              <tr> <td class="LabelColumn"><asp:Label ID="lblApplication" CssClass="Labels" Text="Application: " runat="server"></asp:Label></td> <td colspan="3">
                  <telerik:RadComboBox ID="cboApplication" runat="server" AutoPostBack="True"  OnSelectedIndexChanged="cboApplication_SelectedIndexChanged"
                      Width="320px" />
                  </td> </tr>
              <tr><td class="LabelColumn"><asp:Label ID="lblComponent" Text="Component: " CssClass="Labels" runat="server"></asp:Label></td> <td colspan="3"><telerik:RadComboBox ID="cboComponents" runat="server" Width="320px" /></td></tr>
              <tr><td class="LabelColumn"><asp:Label ID="lblRType" runat="server" Text="Type: " /></td><td colspan="3"><telerik:RADComboBox ID="cboReleaseType" Width="320px" runat="server" /></td></tr>
              <tr><td class="LabelColumn"><asp:Label ID="lblVersion" Text="Version: " CssClass="Labels" runat="server"></asp:Label></td> <td colspan="3"><telerik:RadTextBox ID="txtVersion" runat="server" Width="320px" /></td></tr>
              <tr><td class="LabelColumn"><asp:Label ID="lblArea" runat="server" Text="Area: " /></td><td colspan="3"><telerik:RadComboBox ID="cboArea" runat="server" Width="316px" /></td></tr>
              <tr><td class="LabelColumn"><asp:Label ID="lblDeployTime" Text="Deploy Time: " runat="server" /></td>
                  <td><telerik:RadNumericTextBox ID="txtDeployTime" runat="server" Width="110px" /></td>
                  <td class="LabelColumn"><asp:Label runat="server" ID="lblRevertTime" Text="Revert Time: " /> </td>
                  <td><telerik:RadNumericTextBox ID="txtRevertTime" runat="server" Width="110px" /></td>
              </tr>
           </table>
      </div>
Protected Sub cboApplication_SelectedIndexChanged(sender As Object, e As Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs) Handles cboApplication.SelectedIndexChanged
    Dim connection As New SqlConnection(ConfigurationManager.ConnectionStrings("mConnectionString").ConnectionString)
 
    Dim adapter As New SqlDataAdapter("SELECT * FROM tblComponents WHERE AppID = " & e.Value & " order by ComponentName", connection)
    Dim dt As New DataTable()
    adapter.Fill(dt)
 
    cboComponents.DataTextField = "ComponentName"
    cboComponents.DataValueField = "ComponentID"
    cboComponents.DataSource = dt
    cboComponents.DataBind()
    'insert the first item
    cboComponents.Items.Insert(0, New RadComboBoxItem(""))
End Sub


Any help would be appreciated
Viswanathan
Top achievements
Rank 1
 asked on 14 Jan 2013
2 answers
63 views
We have a requirement for displaying the RadChart control as a one of the column in RadGrid. We tried to display the chart in the column of the grid control. but the area of title, legend, xaxis, yaxis values are displayed as empty. so the alignment of grid control is getting differently.

In one of the telerik forum, assigning of the AutoLayout property set to false. we tried this also but still we are helpless.

please assist to achieve this scenario.

Thanks,
Meenakshi.
Missing User
 answered on 14 Jan 2013
3 answers
104 views
When inserting table from word (clearing word formatting)- it looses some formatting (borders and background colors)

Problem appears in RadControls for ASP.NET AJAX 2012.3 1218
.net framework 4.5
Rumen
Telerik team
 answered on 14 Jan 2013
1 answer
84 views
Hi,

I'm wondering whether there is an option that allows me to skip the skin chosen in the skin-manager to be applied for a certain control (a button in my case) ?
I cannot find something like ControlsToSkip. Am i missing something here?

As a follow up. How to undo a skin in code behind?

thanks, Michael
MasterChiefMasterChef
Top achievements
Rank 2
 answered on 14 Jan 2013
2 answers
78 views
I am in a situation where a user will have a variable number of items and beside each item I want a RadNumericTextBox. I was thinking of using the RadListView and setting the template to be the item name and a RadNumericTextBox associated with it. I want to ignore the edit, create, and the more advanced features of the RadListView. I just want a list of items with the input boxes that will auto post back.

The problem I am facing is when a user changes a number in the text box, how do I know which text box this is? I was looking to see if there was a attribute on RadNumericTextBox that could hold an arbitrary value such as my item key so I would know which number they changed. However, I don't see such an attribute.

Is there some way I can make a determination which text box they edited when I auto post back? 

In case anyone asks, I do not want to force my user to click a button to make the row go into edit mode, change the number, then click a button to save the row.
DuelingCats
Top achievements
Rank 2
 answered on 14 Jan 2013
1 answer
125 views
I am dynamically loading the radcombobox in my program and getting emptyvalue when quering SelectedValue. This is working just fine with asp.net dropdownbox:

In the aspx file I have:

<asp:Repeater ID="rptTI" runat="server" EnableViewState="false">
<ItemTemplate>
     <telerik:RadCombobox ID="ddlPay"  runat="server" AutoPostBack="False" />
</ItemTemplate>
</asp:repeater>

in the cs file I have in the itemdatabound of the repeater:

protected void OnItemDataBound(Object sender, RepeaterItemEventArgs e)
{
  DropDownList ddlPay = ((DropDownList)e.Item.FindControl("ddlPay"));
  ddlPay.DataSource = payrollDataView;
  ddlPay.DataTextField = "value";
  ddlPay.DataValueField = "id";
  ddlPay.DataBind();
}

Now when I save the value I am doing ddlPay.SelectedValue and it gives empty string.

It is interesting to see if I change the RadCombobox to asp:DropDownList, it works just fine!
Nencho
Telerik team
 answered on 14 Jan 2013
0 answers
37 views
Hi, 

I d like to set up static headers and scrolling inside of the grid, but when I turn on this feature my grid is suddenly ruined.  Checkout the screenshot..

Will this be fixed in new release?

Cheers.
Jan
Top achievements
Rank 1
 asked on 14 Jan 2013
3 answers
122 views
Hi there,

I have a question, do someone know if it's possible to add a simple label to the advanced form without using a custom template or something like that?I want to add the label via my C# code.

Thanks,

Plamen
Telerik team
 answered on 14 Jan 2013
3 answers
45 views

Hi,

I have a tab with 2 tabs, I am using RadMultiPage in combination is RadTab. I have a problem in loading 2nd tab contentUrl Data.
It always displays first tab Content Url Data.

Below is Piece of code. Let me know if i am doing anything wrong.

I have set selectedIndex=0 to display first tab content on load. If i wont set it , Nothing displays. It will be blank.
Help me out.
Tab
 <telerik:RadTabStrip ID="rdStrp" runat="server" AutoPostBack="true" SelectedIndex="0" >
        <Tabs>
        <telerik:RadTab Text="First" runat="server" PageViewID="RadPageView1" >
        </telerik:RadTab>
        <telerik:RadTab Text="Second" runat="server" PageViewID="RadPageView2">
        </telerik:RadTab>
        </Tabs>
        </telerik:RadTabStrip>
        <telerik:RadMultiPage id="Mp" runat="server" SelectedIndex="0" >
        <telerik:RadPageView ID="RadPageView1" ContentUrl="WebForm2.aspx" runat="server">
        </telerik:RadPageView>
         <telerik:RadPageView ID="RadPageView2" ContentUrl="WebForm3.aspx" runat="server">
        </telerik:RadPageView>
        </telerik:RadMultiPage>

WebForm2.aspx
---------------------------
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
 First Tab
    </div>
    </form>
</body>
</html>
WebForm3.aspx
---------------------
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
 abcdefd
    </div>
    </form>
</body>
</html>

Regards,
Akki
Nencho
Telerik team
 answered on 14 Jan 2013
5 answers
117 views

Hi,

Is it possible dynamic width but have a max width with tree inside RadComboBox.


RadComboBox width should not be grater than Treeview width.


Thanks
Praveen Tomar
Boyan Dimitrov
Telerik team
 answered on 14 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?