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

Hi everyone.

I have a question. While I was programming a webpage with a grid (radgrid), the grid calls a function and this function fill the data into grid using datasource. No problem.

But I have a  problem in different browsers: In Internet Explorer 11 the grid shows the information without problems, but in Google Chrome (the last version), the grid shows the information of the row but like a random mode. In other words, when I load the page the information maybe load or not. When I refresh the page the grid doesn't shows information (or maybe yes), I do another refresh and then yes, shows the data. After all I do another refresh and maybe shows or not. This is not correct... The control would shows the information always, not random.

I don't  know what causes this issue, maybe the control? javascript?

If need more information, please, tell me.

Regards.

Vessy
Telerik team
 answered on 07 Jul 2015
3 answers
361 views

 I have two tabs. Tab#1 contains a form which has validation  controls.
The problem is I can not click on tab#2 to open unless I complete the form in tab#1.
How can I disable validation for the RadTab?

Thanks
Brew

Shikhar
Top achievements
Rank 1
 answered on 07 Jul 2015
1 answer
623 views

Has anyone found a way to increase a multiline radtextbox automatically as a user types so that if can fit their input vertically?

We'd like to put the text box on the page with a base height of 100px. However, once the user has filled that space and keeps typing, instead of the text box getting scrollbars, we want it to add enough pixels to keep all the text visible. 

This would need to occur up to a "max height" at which point the normal scroll bar behaviour would kick in...

Any thoughts?

Viktor Tachev
Telerik team
 answered on 07 Jul 2015
1 answer
362 views

Hello

 I'm trying to disable the "Add New Record" button in a Telerik RadGrid. I found many solutions to hide it, but what I want is that it's visible, but if the user clicks on it, it doesn't do anything. I found a way to disable the "InitInsertButton", but not the "AddNewRecordButton". Here you can see my e

 

GridCommandItem cmditem = (GridCommandItem)RadGrid1.MasterTableView.GetItems(GridItemType.CommandItem)[0];
Control ctrl = cmditem.FindControl("AddNewRecordButton");
ctrl.Visible = false;

LinkButton btn = (LinkButton)cmditem.FindControl("InitInsertButton");
btn.Enabled = false;

 

As you can see the "InitInsertButton" is disabled, but there is no property "Enabled" for System.Web.UI.Control so I don't know how to disable it as well.

Hope you can help me

Regards,
Danilo

Danilo
Top achievements
Rank 1
 answered on 07 Jul 2015
3 answers
807 views

I have this

 

 

for (int i = 0; i < RadUpload1.UploadedFiles.Count; i++)

 

{

 

        TextBox1.Text = TextBox1.Text +

"\n"+RadUpload1.UploadedFiles[i].FileName;

 

}

This FileName method returns the file name ONLY. How can i get the full source path?

For example if i upload from : c:/upload/test.jpg

I want to print out the whole "c:/upload/test.jpg" , not just "test.jpg"

Thank you!

Nencho
Telerik team
 answered on 07 Jul 2015
12 answers
536 views
How can I change the default "blue" color of the metrotouch skin?

I need to have this color as the main color in the metrotouch skin hex #157164

Thanks in advance.
Vessy
Telerik team
 answered on 07 Jul 2015
1 answer
212 views

Hi,I'm playing with one website and here is the thing:

On this page are plenty of divs, each with different content. I want to load the core (div headers, user info etc.) and after that, when user see this core, I want to async load content of each div. After that I want refresh content of divs, but in different timespan. 

Can I do that somehow with Telerik Ajax? I tried something with AjaxPanel, but the content shows after the full page load.

Thank you very much for your advice.

Maria Ilieva
Telerik team
 answered on 07 Jul 2015
2 answers
268 views

Hi,

Is there a way to change specified column's cells Background color ?

For example, I would like to represent holidays' period by changing the column's cells color.

 Thanks, Rémi.

Rémi
Top achievements
Rank 1
 answered on 07 Jul 2015
4 answers
148 views
I need a solution to work for a dynamically loaded user control that contains the grid and the context menu. When using...

<
ClientEvents OnRowContextMenu="RowSelected" />

... and having the javascipt method embedded on the .ascx, the application throws error "RowSelected is undefined." I read on another post to use RegisterClientScriptBlock in the user control code behind which does get works for getting the RowSelected method recognized; however, the .show method of the context menu is undefined. When I code the following using RegisterClientScriptBlock, I get the undefined error for .show()

$find(
"<%= GridContextMenu.ClientID %>").show(args.get_domEvent());

...so I then tried...

document.getElementById('"

+ GridContextMenu.ClientID + "');

...which didn't work either.

So, the back to the original question: How do I get a context menu to work for a rad grid that is on a dynamically loaded user control?

I thought I'd make this a Post. I had asked the question in a reply to another Post, which may have not been appropriate.

http://www.telerik.com/community/forums/thread/b311D-bbktgd.aspx

Thanks for any help!

John D

Dimitar
Telerik team
 answered on 07 Jul 2015
1 answer
107 views
Dear Team,

We have implemented video upload and preview functionalities. User should be able to upload any video and should be able to preview it. We are using Telerik Rad Media Player. I'm able to preview MP4 format videos. When I try to play WMV, MOV format videos, some icon to download adobe flash player is getting displayed. Adobe flash player is already there in my machine and it is enabled in my browser. We are using IE.

Please let me know if I have to do any settings in my machine/application.

Thanks,
Phani
Maria Ilieva
Telerik team
 answered on 07 Jul 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?