Telerik Forums
UI for ASP.NET AJAX Forum
10 answers
231 views
Hi Telerik Team,

 I have a case where I have an IFrame (having src set to PageA.aspx) inside a RadDock which is launched from the RadScheduler control inside PageB.aspx. Now I want that when a button from my Iframe's page (PageA.aspx) is clicked, my RadDock should get closed.
But RadDock seems to close only when I click the Submit/Cancel button which I have defined in the RadDock in PageB.aspx.

So I wired an event from PageA.aspx and when user clicks the button from that page, I set RadDock.Closed to true in my event handler in PageB.aspx. I debugged my code to ensure this line does gets executed. Still RadDock stays open.

Please advice where I may be mssing. I understand this is not a standard application scenario.

Regards,
Abhishek
Dimitar Milushev
Telerik team
 answered on 02 Jun 2009
0 answers
93 views
Hi everybody, I have an strange issue with the comboBox...
I have a comboBox that shows articles. When I edit one of them, the SelectedIndexChanged is firing before I have made any changes on it. I've noticed that the description of the article shown has more than one white space on it, and I could test that it was making the event fires.
this is a problem for us, because the article didn't changed but the event fires as if it did.
any ideas?

fer
Top achievements
Rank 1
 asked on 02 Jun 2009
4 answers
75 views
I'm attempting to set the css class of an individual panelbaritem in codebehind

 

RadPanelItem pnlItem3 = new RadPanelItem();

 

pnlItem3.Text =

"Include";

 

pnlItem3.CssClass =

"RedPanelItem";

 

pnlItem2.Items.Add(pnlItem3);
This is the third level on a panelbar.
I've defined the style as below on the masterpage

 

 

<style type="text/css">

 

 

.RedPanelItem

 

 

 

 

{

 

color: red;

 

}

 

</style>

 


But it comes up black and not red.
I examined the source for the page and found the following, which I don't know if it helps or not
<ul class="rpGroup rpLevel3 ">
<li class="rpItem rpFirst"><a href="#" class="rpLink RedPanelItem"><span class="rpOut"><span class="rpText">Include</span></span></a></li><li class="rpItem rpLast"><a href="#" class="rpLink"><span class="rpOut"><span class="rpText">AL,CA,TX,UT</span></span></a></li>
</ul>

Can you help me out?
Thanks,

Robert O'Dell
Top achievements
Rank 1
 answered on 02 Jun 2009
4 answers
178 views
I'm developing a strategy for using Telerik controls within MOSS. Currently, my thinking is that I would prefer to deploy to the WebApplication bin directory rather than the GAC. The reason is I would like to minimize the amount of maintenance required when upgrading to a new version of Telerik controls. By deploying to the bin directory I should be able to reference the assembly in the config files without the full assembly name that includes the version number (haven't tried this on SafeControls yet - that one may get me).

Curious if there is any feedback as to whether this is a good approach, bad approach, any gotchas I may run into, etc.

Thanks.
rh
Top achievements
Rank 1
 answered on 02 Jun 2009
1 answer
76 views
Hi

I am using a grid with self hierarchy functionality. On a button click I am hiding specific columns of the grid by javascript only (no post backs). The columns are hidden, but the nested data isn't, so when I click a row's expand icon all the nested data appears including the columns that are supposed to be hidden.... How can i prevent this behavior?

Thanks

tali
Tsvetoslav
Telerik team
 answered on 02 Jun 2009
2 answers
182 views
Hi, I have a problem, I worte a webpart to work in Sharepoint, this webpart have a RadSlider, well My webpart work fine with the RadScriptManager, but I tried to put a PerformancePoint webpart in the same page of my telerik webpart but this had a problem:

Unable to cast object of type 'Telerik.Web.UI.RadScriptManager' to type 'Microsoft.PerformancePoint.Scorecards.WebParts.ScriptManagerLoader'.

I found a thread for the solution ( http://blogs.msdn.com/fooshen/archive/2008/10/18/performance-point-server-2007-and-ajax-on-sharepoint.aspx ), but when I change the RadScriptManager for the PPS:ScriptManagerLoader my slider is disabled, and when I try to edit my page (Edit Page in SharePoint) I have this error:

Server Error in '/' Application.

 


 

 

The given key was not present in the dictionary.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

Source Error:

 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

 

Stack Trace:

 

[KeyNotFoundException: The given key was not present in the dictionary.]
   System.ThrowHelper.ThrowKeyNotFoundException() +36
   System.Collections.Generic.Dictionary`2.get_Item(TKey key) +10374485
   Telerik.Web.UI.RadSlider.LoadClientState(Dictionary`2 clientState) +520
   Telerik.Web.UI.RadDataBoundControl.LoadPostData(String postDataKey, NameValueCollection postCollection) +172
   Telerik.Web.UI.RadSlider.LoadPostData(String postDataKey, NameValueCollection postCollection) +81
   System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +945
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2071

Well, Somebody have a idea about this?

Thanks.

Juan Carlos Juarez
Top achievements
Rank 1
 answered on 02 Jun 2009
1 answer
76 views
Hi guys!

I have an application which is using RadToolBar. The body is styled with the font-size attribute and set to an absolute size. The problem is that IE7 (maybe other versions as well) renders the separators incorrectly. The separators are affected in a way so they look aligned to the top (not the middle).

Another thing i've noticed is that when the RadToolBar is placed inside the Pane of a Splitter, the separators won't scroll with the pane but stays in the same place.

Everything look great in Firefox, only IE that has these problems.

Any suggestions?
Yana
Telerik team
 answered on 02 Jun 2009
5 answers
178 views
On my site, users will sometimes insert images or iframes from different sites into their pages. To avoid getting the mixed content warnings, we modify urls in 'src' attributes to use https when need the rest of the page is also using https. This is fine, except when the other sites do not serve content using https. For these cases, we instruct users to add a prefix to the 'src' url so that we do not modify it. So, an iframe might look like this:

<iframe src='nossl-http://someothersite.com/page.html' />

Before displaying the page, we remove the 'nossl-' but do not convert 'http' to 'https'.

For one of our customers, opening content in the editor including only an iframe similar to the example above causes a hard Firefox crash. I have tried the exact same iframe tag on other sites (running on the same platform, same browser, same client computer) and there is no problem (Firefox displays an error message about the weird protocol, but that is expected).

So, I am wondering if you have any ideas on what could cause this. I can't create a sample project, because it only happens for the one customer.
Dan Ehrmann
Top achievements
Rank 1
 answered on 02 Jun 2009
3 answers
117 views
I obtained a design sheet and stripped the style from my radmenu. I like how it is exactly but I would like to know the easiest way to center the items between the separators.

http://merchantcashgroup.com

Thanks,

Jeff
sircutbreaker
Top achievements
Rank 1
 answered on 02 Jun 2009
2 answers
318 views
Hi there,
Spent quite a while looking into this and haven't seen an answer yet...

I have a "simple" grouped grid. When I export it to Excel, there is an extra empty column (A). How can I remove this first column from excel.

Here is what I've tried...
I assume the empty column is a combination of GridGroupSplitterColumn and Header Column. Using the following code...

Protected Sub btnExport_Click(ByVal sender As ObjectByVal e As System.Web.UI.ImageClickEventArgs) Handles btnExport.Click  
        RadGrid1.ExportSettings.ExportOnlyData = True 
        RadGrid1.ExportSettings.IgnorePaging = True 
        RadGrid1.ExportSettings.OpenInNewWindow = True 
        RadGrid1.MasterTableView.ExportToExcel()  
End Sub 
 
Protected Sub RadGrid1_ExcelExportCellFormatting(ByVal source As ObjectByVal e As Telerik.Web.UI.ExcelExportCellFormattingEventArgs)  
        If TypeOf e.FormattedColumn Is GridGroupSplitterColumn Then 
            e.Cell.Visible = False 
        End If 
End Sub 

...I am able to remove many of the blank cells. But the header row and grouped rows still have an empty cell on the left. So again, my question is, how can I remove all empty cells in that first column (A) when exporting a grouped grid to Excel?

Thanks for your help...
Joe
Joe
Top achievements
Rank 2
 answered on 02 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?