Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
116 views

 

Wondering is there a way to add some arrows on the chart to make it look similar to the following info-graphics?

https://www.nwfsc.noaa.gov/news/features/dangerous_fishing/images/infographiclarge.jpg

David
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 16 Aug 2017
1 answer
766 views

I have a RadGrid that I populate from my SQL database.  I use the RadGrid1_ItemCreated event to set the textbox width presently and that works fine.  Now I want to set a regular expression for the same textbox.  It is a textbox that contains an email address.  Here is my C# code:

protected void gvEmailRedirectMaint_ItemCreated(object sender, GridItemEventArgs e)
        {
            if ((e.Item is GridEditableItem) && (e.Item.IsInEditMode))
            {
                string myMsg;
                GridEditableItem edititem = (GridEditableItem)e.Item;
                Regex regex = new Regex(@"^[A-Za-z0-9](([_\.\-]?[a-zA-Z0-9]+)*)@([A-Za-z0-9]+)(([\.\-]?[a-zA-Z0-9]+)*)\.([A-Za-z]{2,})$");
                TextBox txtbx = (TextBox)edititem["RedirectEmailAddress"].Controls[0];
                txtbx.Width = Unit.Pixel(300);
                Match match = regex.Match(txtbx.Text);

                if(match.Success)
                    myMsg = txtbx.Text + " is Valid";
                else
                    myMsg = txtbx.Text + " is Invalid";
            }
        }

When I run this, it performs no editing.  If I click the update button, it saves the email address even though it is not in the proper format.  What am I doing wrong?

Bob
Top achievements
Rank 1
 answered on 16 Aug 2017
1 answer
63 views
Seems like this should be easy but I cannot figure this out.  I have a RadGrid and it loads properly.  I also have an Edit button and when I click it, it displays an email address.  This works too.  It allows me to update the email address and also let's me update it.  But I cannot figure out how to change the width of the email address box.  Presently, it does not fit well.  I have no idea where this is defined.  Can anyone help?  
Bob
Top achievements
Rank 1
 answered on 16 Aug 2017
44 answers
1.2K+ views
I do not want this combobox to appear.  How do I remove it?
Anders
Top achievements
Rank 1
 answered on 16 Aug 2017
3 answers
102 views
Hi!
Imagine that not or not very easily but ....There is anyway of upgrade one control to the latest version and use the rest of the telerik controls in a previous version?
I think we will end up upgrading everything, but I'd like to know what's possible and what not.
Thanks!

Rumen
Telerik team
 answered on 16 Aug 2017
5 answers
1.6K+ views

I have a ASP Dropdown list and Telerik RadComboBox. Both are binding same values.

Now I want to select same value in RadComboBox which user select in ASP Dropdown list.

I have used below codes but RadComboBox always shows previous selcted value only.

YAMA
Top achievements
Rank 1
 answered on 16 Aug 2017
3 answers
262 views

Hi ,

How can I find out which columns are visible in a server-side routine (some columns may have been shown/hidden with the header context menu)?

Eyup
Telerik team
 answered on 16 Aug 2017
0 answers
100 views

Hello. I'm going to use telerik ASP.NET AJAX Grid in my application. I have several tabs on the page that should have the grid. The functionality of grids is similar. So, Obviously, I would like not write the same HTML and Java Script several times, but I would like to create common general Java Script that allow me to create the grids. Is it possible? If not, Is it possible to do this with Kendo UI?

Thank you.

Yordan
Top achievements
Rank 1
 asked on 16 Aug 2017
2 answers
166 views

Hello,

I have a grid similar to http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/declarative-relations/defaultcs.aspx.  In my I have around 20 columns in the parent and only a few in the child.  I'm using locked columns so there is a horizontal scroll bar to view all the data.  The few items in the child grid get spread across the entire length of the parent grid which makes it extremely hard to read since you have to scroll all the way across the grid just to read a few columns.

Is there some way to reduce the size of the child grid so it doesn't span across the entirety of the parent grid?

Thanks

Chris
Top achievements
Rank 1
 answered on 16 Aug 2017
2 answers
131 views

Hello,

I've created grid with a parent and 2 and 3 child elements like the following sample: http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/declarative-relations/defaultcs.aspx

I would like to enable filtering for the parent items but not for any of the children elements.  I've enabled filtering in the grid using AllowFilteringByColumn="True" and in the children columns I've set them all to AllowFiltering="false".  This removes the filter from the child elements however it leaves an ugly bar underneath the column header where the filters normally would be.

Is there some way to disable this and only have filtering applied to the parent?

Thanks

Chris
Top achievements
Rank 1
 answered on 16 Aug 2017
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?