Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
280 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
262 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
93 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
90 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
283 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
925 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
116 views
Basic table support?
Documentation?
Konstantin Dikov
Telerik team
 answered on 19 Nov 2014
6 answers
154 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
241 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
1 answer
164 views
I have what I would consider to be a rather simple radgrid with grouping.  However the GroupFooter items don't match up with the corresponding fields in the grid.  Any ideas how to get these to line up?  Please see attached.  I've highlighted the details in yellow.

Thank you
Kostadin
Telerik team
 answered on 19 Nov 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?