Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
170 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
313 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
303 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
109 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
115 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
334 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,000 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
136 views
Basic table support?
Documentation?
Konstantin Dikov
Telerik team
 answered on 19 Nov 2014
6 answers
181 views
Hello,

I have a RadButton on a webpage which is using the Default skin but is not displaying correctly in IE8.

The button renders correctly in Chrome and Firefox.

I have attached a screenshot to show what the button looks like in IE8.

Any advice please?

Thank you, Ida
Danail Vasilev
Telerik team
 answered on 19 Nov 2014
8 answers
274 views
Hi all,

I´ve learned that telerik had a helpdesk demo project before... Does anybody has the files? I need to create a helpdesk for my office, and I would like to view it so hopefully it could help with the interface...

Thanks,

Rod
Konstantin Dikov
Telerik team
 answered on 19 Nov 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?