Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
101 views
A customer pasted her Google Analytics script into the html view (along with some regular html content) and saved it. However, when opening the editor to edit the content, she got a 'permission denied' error in scriptresource.axd. The design view was empty, and she could not switch to html view. The editor content (html and javascript) was properly saved to our backend db. This occurred in IE7 and IE8. In Firefox, there was no problem.

Here is the Google code (slightly edited to remove identifiers). This was obtained directly from Google and pasted in without changes.

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("id_cide_here");
pageTracker._trackPageview();
} catch(err) {}</script>


EDIT: using version 2009.1.402.20
Ifdev02
Top achievements
Rank 1
 answered on 17 Sep 2009
2 answers
146 views
I have implemented a custom content provider and trying to use it with the RadFileExplorer:

RadFileExplorer1.Configuration.ContentProviderTypeName = typeof(DBFileContentProvider).AssemblyQualifiedName; 

However, I get an error: 

Constructor on type 'MySequenom.Data.DBFileContentProvider' not found.


My provider does have a contrstructor so I am unsure what the problem is.

public DBFileContentProvider(HttpContext context, string[] searchPatterns, string[] viewPaths, string[] uploadPaths, string[] deletePaths, string selectedUrl, string selectedItemTag, int nodeId) 
            : 
            base(context, searchPatterns, viewPaths, uploadPaths, deletePaths, selectedUrl, selectedItemTag) 
        { 
            _itemHandlerPath = ConfigurationManager.AppSettings["ItemHandlerPath"]; 
            if (_itemHandlerPath.StartsWith("~/")) 
            { 
                _itemHandlerPath = HttpContext.Current.Request.ApplicationPath + _itemHandlerPath.Substring(1); 
            } 
            if (SelectedItemTag != null && SelectedItemTag != string.Empty) 
            { 
                SelectedItemTag = ExtractPath(RemoveProtocolNameAndServerName(SelectedItemTag)); 
            } 
        } 

Adam
Top achievements
Rank 2
 answered on 17 Sep 2009
2 answers
119 views
Is there any way to display the virtual scrollbar of a RadGrid on the left-hand side of the grid?

 I am familiar with the direction right-to-left method, but I do not want any of my other controls to diplay RTL, just the virtualscrollbar.

Thanks in advance.
Andy
Top achievements
Rank 1
 answered on 17 Sep 2009
3 answers
133 views
Hi I am trying to use the drag drop functionality of the tree.
Basically I want to drag a node onto the rad scheduler.
 However the node drop event is not firing...this event does fire though when I drag on to other elements like textboxes.
What do I need to do to get this event to fire when dragging onto the rad scheduler
Nate
Top achievements
Rank 1
 answered on 17 Sep 2009
3 answers
241 views
I have a Radgrid inside a asp.net user control.  We set the header text in


 <telerik:GridTemplateColumn HeaderText="Required Column" >
                <ItemTemplate>
                <telerik:RadTextBox  ID.......></telerik:RadTextBox>
                
                </ItemTemplate>
</telerik:GridTemplateColumn>

I would like to add a red asterisk (*) next to the "Required Column" indicating that that column is mandatory. Is there a way we can change/style the header text  to have a red asterisk  in design time ?

Also I am not able to set/change the header text in OnItemCreated  or OnItemDataBound events.  Any suggestions ?



ram+telerik S
Top achievements
Rank 1
 answered on 17 Sep 2009
2 answers
197 views
Hi,

I use linqdatasource to show data in grid

  <asp:LinqDataSource ID="ldsDocument" runat="server" ContextTypeName="DataClassesDataContext"
                                        TableName="qry_Data_Docs" AutoPage="False">
                                              </asp:LinqDataSource>
                                             
I update data using popup window. After update grid show only old data. When i refresh page its show only old data. But database has updated data. Why that?

lakmal



lakmal
Top achievements
Rank 2
 answered on 17 Sep 2009
2 answers
48 views
We developed our web application wtih Q2 2009.  Because of external pressure, we have to revert to Q1 2009.  That caused our splitters to duplicate on the page.  When one closes, the duplicate splitter opens on the bottom of the page.  Is this an issue that was fixed in Q2 or is there something else we have to do after reverting to the older version?
Mark
Top achievements
Rank 1
 answered on 17 Sep 2009
5 answers
264 views
Hi ,

I would like to know how to force my Detail Grids to expand & show immediately after the MasterTable gets databound.
i.e. not having to click on the expand icon on the mastergrid after it binds and renders.

I am using the Need DataSource event for the Master and DetailTableDataBind Events  and the MasterTables "DataBound" event
eg 

protected

 

void grvSchedule_DetailTableDataBind(object source, GridDetailTableDataBindEventArgs e)

 

{

 

 

switch (e.DetailTableView.Name)

 

{

 

 

case "ClientSchedDetl":

 

{

DoClientSchedDetailsGrid(e);

 

 

break;

 

}

 

 

case "grvAnimalDetl":

 

{

e.DetailTableView.DataSource =

L_Animals.

 

SchedAnimals.GetSheduleAnimals(SchedID);

 

 

 

break;

 

}

}

}

 

protected

 

 

void grvSchedule_DataBound(object sender, EventArgs e)

 

{

grvSchedules.MasterTableView.DetailTables[0].DataBind();

 

//ClientSchedDetl

 

 

 

 

 

 

grvSchedules.MasterTableView.DetailTables[1].DataBind();

 

//grvAnimalDetl

 

 

 

 

 

 

 

}

 

 

I am exporting the lot to PDF,  but am trying to give the user a "Preview" screen, showing all detailgrids etc, prior to actually exporting to PDF, without the need for them clicking the "Grid s Expand button
i am using vers. 2009.1

I have noticed (no paging implemented), that any further pages basically the 2nd of my detail grids does not show on the form either,
Can i show it all in one page? i.e. not need to put paging in?


Thanks
Neal

 

Raam Nandan
Top achievements
Rank 1
 answered on 17 Sep 2009
3 answers
352 views
Hello guys,

I have one Sharepoint site where I have pages with Rad Controls, when we start to develop that site we used the Sunset skin for our controls, that skin was setted on the web.config according with the Skin registration article. Now, our customer is asking us to change that Skin with one personalized but according with the Using skins in ASP.NET themes article, if we register one skin that is not embedded, we need to find all of the Rad Controls and set the EnableEmbeddedSkins property to false in order to avoid one Exception. Because we have a big amount of Rad Controls, do you know another way to set this property through the web.config file?.

Thanks for your reply.
Dimo
Telerik team
 answered on 17 Sep 2009
2 answers
113 views
Hi there,

I just have one more problem, at least I hope so.....

When I click on an item, I change the backcolor of the item and the backcolor of the Label in the item as well. This works well.
Unfortunately, after the first rotation, all labels seem to have a strange font. I googled this and found out, I have to set the backcolor of the label to transparent. When I do this, the text looks clear. Although the item I want to mark as "selcted" by changing the color to orange stays transparent. I can't change the color again.

Is there an opportunity to set all labels to white (for the clear font) but still to be able to change the backcolor of an particular item and label?

Thanks in advance
Fiko
Telerik team
 answered on 17 Sep 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?