Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
123 views
hi

which find control for example, DropDownTree or ....
, in RadListView1_ItemEditing



i try below code,but give error.







  protected void RadListView1_ItemEditing(object sender, RadListViewCommandEventArgs e)

    {

RadListViewEditableItem editedItem = (RadListViewEditableItem)e.ListViewItem;



 RadTextBox txtSubject =(RadTextBox)editedItem.FindControl("txtSubject");



txtSubject .Text="hi";



}

please help me.

thanks

Pavlina
Telerik team
 answered on 19 Nov 2014
3 answers
170 views
I have a RadTabStrip containing some tabs and ScrollChildren is set true. Whenever there is a Multiline TextBox in any of the tabs, after focusing the Textbox or writing something on it, if I click on any of the tabs, the RadTabStrip disappears. It again shows after a single click anywhere on the screen! 
N.B. If I set ScrollChildren to false or make the TextBox singleline, this unexpected behavior vanishes! Have someone faced this weird error before? What is the way around!
Nencho
Telerik team
 answered on 19 Nov 2014
0 answers
181 views
RadTextBox textchanged event is firing before i finish typing the text in the textbox.
SO i am trying to use onblur clientside event. After user types the text there is some server side db call will be made.
How to accomplish this?

My code:

  <telerik:RadTextBox ID="txtPurchaseOrder" AutoPostBack="true"  runat="server" EmptyMessage="" MaxLength="30" style="text-transform: uppercase;" >
              <ClientEvents OnKeyPress="OnKeyPress" OnBlur="Blur" />      
              </telerik:RadTextBox>
function Blur(sender, eventArgs) {
          //Need to call server side method POChange() from here,  PageMethods.POChange(); not working
        }


code-behind:
 protected void POChange()
        {
            if (txtPurchaseOrder.Text != "")
            {
                string strSoOrder = BookingData.CheckPONumer(txtPurchaseOrder.Text);
                if (strSoOrder != null || strSoOrder != "")
                {
                    txtPurchaseOrder.Attributes.Add("onblur", "javascript:return confirm('The Purchase Order used is the same used on previous SO# do you want to continue?');");
                }
            }
        }
Neetha
Top achievements
Rank 1
 asked on 19 Nov 2014
0 answers
334 views
RadTextBox textchanged event is firing before i finish typing the text in the textbox.
SO i am trying to use onblur clientside event. After user types the text there is some server side db call will be made.
How to accomplish this?

My code:

  <telerik:RadTextBox ID="txtPurchaseOrder" AutoPostBack="true"  runat="server" EmptyMessage="" MaxLength="30" style="text-transform: uppercase;" >
              <ClientEvents OnKeyPress="OnKeyPress" OnBlur="Blur" />      
              </telerik:RadTextBox>
function Blur(sender, eventArgs) {
          //Need to call server side method POChange() from here,  PageMethods.POChange(); not working
        }


code-behind:
 protected void POChange()
        {
            if (txtPurchaseOrder.Text != "")
            {
                string strSoOrder = BookingData.CheckPONumer(txtPurchaseOrder.Text);
                if (strSoOrder != null || strSoOrder != "")
                {
                    txtPurchaseOrder.Attributes.Add("onblur", "javascript:return confirm('The Purchase Order used is the same used on previous SO# do you want to continue?');");
                }
            }
        }
Neetha
Top achievements
Rank 1
 asked on 19 Nov 2014
0 answers
331 views
RadTextbox textchanged event is firing before i complete typing the text in the textbox.
So I am trying onBlur client event, but i need the functionlity in server side. How do i accomplish it ?

 <telerik:RadTextBox ID="txtPurchaseOrder" AutoPostBack="true" runat="server" EmptyMessage="" MaxLength="30" style="text-transform: uppercase;" >
              <ClientEvents OnKeyPress="OnKeyPress" OnBlur="Blur" />      
              </telerik:RadTextBox>

<script> function Blur(sender, eventArgs) {
            // need to call POChange method, pagemethods.POChange not working
        }
</script>

code-behind :

 protected void POChange()
        {
            if (txtPurchaseOrder.Text != "")
            {
                string strSoOrder = BookingData.CheckPONumer(txtPurchaseOrder.Text);
                if (strSoOrder != null || strSoOrder != "")
                {
                    txtPurchaseOrder.Attributes.Add("onblur", "javascript:return confirm('The Purchase Order used is the same used on previous SO# do you want to continue?');");
                }
            }
        }

How to get this working?
Neetha
Top achievements
Rank 1
 asked on 19 Nov 2014
2 answers
138 views
Hello,

I'm using a RadGrid in an user control and for each different datasource I create columns. The columns I'm creating also use the filter feature.

The only problem is that the filters, in some cases, are small or bigger compared to the column it's on.

I mean, suppose a column have 200px, sometimes the filter have 50px or 300px. This behavior is pretty strange... Is there a way to make the filters have the same size as the columns?
 
Also, the columns allow resizing so another problem is that the filters have a fixed size. Can they be configured to have a dynamic size like the column it is in?
romulo~
Top achievements
Rank 1
 answered on 19 Nov 2014
1 answer
122 views
hello There,
I just struck in the Issue regarding raddropdowntree [telerik]. I just used raddropdowntree to get the tree like structure within the combobox .I am unable to get the 'selectedValue' and 'selectedText' properties.I am using the 2013.1.220.45 version.I had purchased the Telerik RadControls.Do i have to upgrade the version.if so ,do i again have to pay for upgradation.
Hristo Valyavicharski
Telerik team
 answered on 19 Nov 2014
3 answers
352 views
Hello,

I've tried to add some custom properties to the Gantt chart. But the added datetime columns just list undefined.
The properties are being sendt from the client as json and I've tried to hook up the custom properties in the aspx code as shown here.

See screenshots.
Aleksander
Top achievements
Rank 1
 answered on 19 Nov 2014
1 answer
1.0K+ views
How can I add space between RadButtond? I have a commandItemTemplate with 3 buttons as follows, but I need some spacing between them.
Also is there a way for the Refresh button to be placed in the right corner?

                addButton = new RadButton();
            addButton.ID = "addButton";
            addButton.Text = "Add Delegate";          
            addButton.CommandName = "InitInsert";     
            addButton.Visible = canAdd;                   
            addButton.Icon.PrimaryIconCssClass = "rbAdd";          
            addButton.Skin = "Telerik";
 
            deleteButton = new RadButton();
            deleteButton.ID = "deleteButton";
            deleteButton.Text = "Delete Selected Delegates";         
            deleteButton.CommandName = "DeleteSelected";
            deleteButton.OnClientClicked = "OnClientClicked"; //"javascript:return confirm('Delete all selected delegates?')";          
            deleteButton.Icon.PrimaryIconCssClass = "rbRemove";
            deleteButton.Skin = "Telerik";
 
            refreshButton = new RadButton();
            refreshButton.ID = "refreshButton";
            refreshButton.Text = "Refresh";
            refreshButton.CommandName = "RebindGrid";
            refreshButton.Icon.PrimaryIconCssClass = "rbRefresh";
            refreshButton.Skin = "Telerik";
 
            container.Controls.Add(addButton);
            container.Controls.Add(new LiteralControl(" "));
            container.Controls.Add(deleteButton);
            container.Controls.Add(new LiteralControl(" "));
            container.Controls.Add(refreshButton);
Danail Vasilev
Telerik team
 answered on 19 Nov 2014
1 answer
148 views
Basic table support?
Documentation?
Konstantin Dikov
Telerik team
 answered on 19 Nov 2014
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?