Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
110 views
I am trying to create an onclick event in the text of the header.  I need data that is in the actual rows that are expanded out of a closed group so i can send it to the javascript function.  I have not been able to find any way to access this data.

Does anyone have insight as to how to do this?

Ben
Eyup
Telerik team
 answered on 16 Jul 2013
1 answer
172 views
Hi,
First of all, I can get the event firing using the example provided here : http://www.telerik.com/help/aspnet-ajax/tilelist-server-side-events-ontileclick.html
But I'm unable to make it fire on my scenario, can you help?

The markup file:

<telerik:RadTileList runat="server" ID="RadTileList2" Width="1030px" TileRows="2"<br>SelectionMode="Single" EnableDragAndDrop="false" ScrollingMode="None" AutoPostBack="true" OnTileClick="OnTileClick"><br><groups><br><telerik:TileGroup><br><telerik:RadImageAndTextTile Name="First" NavigateUrl="http://www.telerik.com/" Title-Text="Telerik" Shape="Wide"><br><Title Text="Telerik"></Title><br></telerik:RadImageAndTextTile><br><telerik:RadImageAndTextTile Name="Second" NavigateUrl="http://www.google.com/" Title-Text="Google" Shape="Wide"><br><Title Text="Google"></Title><br></telerik:RadImageAndTextTile><br><telerik:RadImageAndTextTile Name="Third" NavigateUrl="http://www.bing.com" Text="Bing"><br></telerik:RadImageAndTextTile><br><telerik:RadImageAndTextTile Name="Fourth" NavigateUrl="http://www.wikipedia.org/" Text="Wikipedia"><br></telerik:RadImageAndTextTile><br></telerik:TileGroup><br></groups><br></telerik:RadTileList><br></div><br><div><br><telerik:RadBinaryImage ID="RadBinaryImage1" runat="server" ImageUrl="~/Images/ProcessPhaseBar1.png"<br>ResizeMode="Fit" Width="100%" /><br></div><br></div>


The codebehind:

<font face="'Times New Roman', serif" style="font-size: 14px; line-height: 24px;">        private void BindTileList()</font><font face="'Times New Roman', serif" style="font-size: 14px; line-height: 24px;"><br>        {<br>            List<RadImageAndTextTile> listRadImageTiles = new List<RadImageAndTextTile>(Utils.Tiles.CreateSubjectRootTiles());<br>            foreach (RadImageAndTextTile radImageTile in listRadImageTiles)<br>                RadTileList2.Groups[0].Tiles.Add(radImageTile);<br><br>            RadTileList2.Groups.Add(tileGroup);<br></font><font face="'Times New Roman', serif" style="font-size: 14px; line-height: 24px;">        }</font><font face="'Times New Roman', serif" style="font-size: 14px; line-height: 24px;"><br><br></font><font face="'Times New Roman', serif" style="font-size: 14px; line-height: 24px;">        protected void OnTileClick(object sender, TileListEventArgs e)</font><font face="'Times New Roman', serif" style="font-size: 14px; line-height: 24px;"><br>        {<br>            clickResult.InnerHtml = "Clicked tile name and URL: " + e.Tile.Name + "<br />" + e.Tile.NavigateUrl;<br>            //note: e.Tile is of type RadBaseTile<br>        }</font>


We're able to get the event firing for the tiles created in the markup, but for the tiles created in the codebehind the event is not fired...

What could be wrong?

Thanks.

Marin Bratanov
Telerik team
 answered on 16 Jul 2013
2 answers
148 views
I am using RAD GRID in as ASP.net AJAX page, with RADSCRIPTMANAGER. the page works well in IE 7, but gives Invalid argument JS error every time the grid is bound to dataset.

http://localhost:56222/mypro/Telerik.Web.UI.WebResource.axd?
_TSM_HiddenField_=ctl00_RadScriptManager1_TSM&
compress=1&
_TSM_CombinedScripts_=%3b%3b
System.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a3de828f0-5e0d-4c7d-a36b-56a9773c0def%3aea597d4b%3ab25378d2%3b
Telerik.Web.UI%2c+Version%3d2011.2.712.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a326e32e2-cd52-462c-ba2c-db5128e4371b%3a16e4e7cd%3af7645509%3a24ee1bba%3a874f8ea2%3ac172ae1e%3af46195d3%3a9cdfc6e7%3a7165f74%3ae330518b%3a1e771326%3ac8618e41%3ae4f8f289%3a58366029%3b
AjaxControlToolkit%2c+Version%3d3.0.30512.20315%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a2a404968-beb9-41c5-98fb-26019e941d81%3ab14bb7d5%3a13f47f54%3a3c55b13e%3adc2d6e36%3ade51bc8f%3a1d056c78%3aa3e10fa2%3a701e375f%3aa4313c7a

can anybody help me out here?
Maria Ilieva
Telerik team
 answered on 16 Jul 2013
1 answer
101 views
Hello,

I would like to know if it is possible to drag a row from a RadGrid onto a RadCalendar date, determine which date the row was dropped on, and then update the RadGrid data item with that date.  I have not been able to find a demo or example of this, and my preliminary efforts have not worked at all.  Using the client-side get_destinationHtmlElement method does not return the element/date the row was dropped on.

I can accomplish this with the RadScheduler, but not the RadCalendar.    Any help would be appreciated.
Angel Petrov
Telerik team
 answered on 16 Jul 2013
4 answers
438 views
Hi All

Have a RadGrid with AutoGenerateColumn ="true" and EditMode="InPlace".

have a datatable with some flag. If the flag is 1 need to hide the Textbox in EditMode. 

Have to compare with the datatable and hide the Textbox.

Need to know whether there is any option to hide the Textbox.

-Anto
Anto (DLL Version : 2008.3.1314.35)
Top achievements
Rank 2
 answered on 16 Jul 2013
1 answer
102 views
Say I have 3 items in a drop down with widths of 100px, 200px and 300px.

I set the DropDownAutoWidth to enabled.  I do not set a width property so it is defaulting to it looks like 158px.

I expand the drop down and the width of the drop down gets set to 300px, so all items are shown on one line.  I select the 300px item, the selection box is still at 158 px, so the last 162 pixels are trimmed and you can't see them.

Would it be possible to instead.

I select an item that is 100px, after selection the box trims to 100 pixels.  I select another item 300px, the selection box now turns to 300 pixels, and so fourth.

A2H
Top achievements
Rank 1
 answered on 16 Jul 2013
3 answers
102 views
Hi ,
I have a problem.
I want to hide radribbon group bar in code behind according to user roles
I applied this technique : 
RadribbonGroupbarControl.visible = false;

It works but hide all Radribbon Groupbar Controls , but after clicking between two tabs for a while it appears again.
Thanks In Advance. 

Princy
Top achievements
Rank 2
 answered on 16 Jul 2013
1 answer
113 views
Hi there,
Is there a way to find out what is the level of a particular entry or if there are no child entries for it.
My current understanding of the control is that the selection is preserved in the Entries collection and there is no tree-like connections between the items of this collection.
My goal is to extract only the selected leaves.
Thanks,
Iulian
Kate
Telerik team
 answered on 16 Jul 2013
1 answer
135 views
Hi Team,

 I am using RadChart in my custom webpart. I am stuck with integrating chart with SharePoint. 

 I have put the entry in httpHandler like:

    <httpHandlers>
      <add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Version=2009.3.1314.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />
    </httpHandlers>

 After doing this, I got an error like:

The "Chart" Web Part appears to be causing a problem. Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration.


Kindly help me to resolve this. Its urgent. 
Thanks in Advance.


Petar Kirov
Telerik team
 answered on 16 Jul 2013
1 answer
242 views
Hi

How can I remove the yellow border of radtextbox in chrome?

Thanks
Katya
Princy
Top achievements
Rank 2
 answered on 16 Jul 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?