Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
238 views
Dear all,

I have a user-control that has a RadTabStrip with 2 Tabs on it, with two tabpages and a RadMultiPage with 2 PageViews.
everything is okay.

I have a button on the second pageview that opens a radwindow, the first time it opens the control goes back to the correct pageview (the second one) but If the click again on the button the second tabs selected but the first pageview is visible !!

Why is this happens ...

Best regards
Waleed
Schlurk
Top achievements
Rank 2
 answered on 21 Dec 2009
5 answers
179 views
Morning all,

I just follow the example ( http://www.telerik.com/support/kb/aspnet-ajax/editor/using-the-image-and-document-managers-outside-radeditor.aspx) using DialogOpener, and I have been asked to disable 'Delete' from context menu. I can not find a way to access to default RadContextMenu. Does anybody know how to do this?  BTW: I am working on RadControls_for_ASP.NET_AJAX_2009_1_402.

Q2: I use subversion for version control, so that I can see the .svn hidden folder after setting up dialogParams.ViewPaths. Is there any way to not show such hidden folders except implementing customer FileSystemContentProvider.

Q3: How can I show image thumbnails after loading image manager with my current version (have no chance to upgrade to higher version recently)

Q4: When trying to delete one .jpg file, it has been removed from image treeview, but still been shown in image previewer, is that possible to clear image previewer when deleting files?

Many thanks in advance.

Cheers,
Rachael
Rumen
Telerik team
 answered on 21 Dec 2009
6 answers
433 views
I have a web project that requires authentication that is using radspell.  However, I do have registration pages (where users have not yet been authenticated) that must use radspell.  What web.config entries are necessary to grant permissions to anon users?  Here is what is I have defined in web.config currently:

<location path="Telerik.Web.UI.WebResource.axd">
    <system.web>
      <authorization>
        <allow users="*"/>
      </authorization>
    </system.web>
  </location>
  <location path="Users/Telerik.Web.UI.WebResource.axd">
    <system.web>
      <authorization>
        <allow users="*"/>
      </authorization>
    </system.web>
  </location>
  <location path="Telerik.Web.UI.DialogHandler.aspx">
    <system.web>
      <authorization>
        <allow users="*"/>
      </authorization>
    </system.web>
  </location>
  <location path="App_Data/RadSpell/en-US.tdf">
    <system.web>
      <authorization>
        <allow users="*"/>
      </authorization>
    </system.web>

I get this javascript error when accessing spell from a registration page:

Error: [Exception... "'Sys.ArgumentException: Sys.ArgumentException: Cannot deserialize. The data does not correspond to valid JSON.
Parameter name: data' when calling method: [nsIOnReadyStateChangeHandler::handleEvent]"  nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)"  location: "<unknown>"  data: no]

Any suggestions?
Luiz Pires
Top achievements
Rank 2
 answered on 21 Dec 2009
0 answers
84 views
Hi All,

Here i am using RAD ComboBox and also using property of "AllowCustomTest=True" when i use this property when i am clicking on any button in that pagte without selecting any value in the ComboBox then it is first it is checking into the "cmbGroup_SelectedIndexChanged1" property, here i need not want that property to be fired when i click on any button without selecting dropdown but the selected value in the drop down should be updated.

Can any one help me out.

Thanks in Advance.

ratan mishra
Top achievements
Rank 1
 asked on 21 Dec 2009
4 answers
130 views

After trying it for awhile...and i can't seem to figure out 2 things:
(programaticly in vb.net)
1) How do you manipulate the style (font, color,etc.) of Series Item Labels?
2) In an Area-type chart, how do you alter the color gradient of a given series? Like how would you make it a solid color or keep the gradient but make it les severe?

Thanks.

Below is the code I'm using to generate the chart:

Dim sqlDataSource As New SqlDataSource()  
        sqlDataSource.ID = "myDataSource" 
 
 
        sqlDataSource.ConnectionString = "Data Source=xxxxxxxxxxxxx" 
          
        sqlDataSource.SelectCommandType = SqlDataSourceCommandType.StoredProcedure  
        sqlDataSource.SelectCommand = "sla_iap" 
        sqlDataSource.SelectParameters.Add("Param1", p1)  
        sqlDataSource.SelectParameters.Add("Param2", p2)  
        sqlDataSource.SelectParameters.Add("Param3", p3)  
 
 
        Me.Page.Controls.Add(sqlDataSource)  
 
        RadChart1.Skin = "Colorful" 
        RadChart1.Appearance.FillStyle.MainColor() = Drawing.Color.Cornsilk  
        RadChart1.Appearance.FillStyle.SecondColor() = Drawing.Color.Brown  
        RadChart1.PlotArea.Appearance.Border.Width = "1" 
        RadChart1.ChartTitle.Appearance.Border.Visible = False 
        RadChart1.ChartTitle.Appearance.FillStyle.MainColor = Drawing.Color.Cornsilk  
        RadChart1.ChartTitle.TextBlock.Text = "Maintenance Met / Missed Trending Report For All Incidents" 
 
        RadChart1.DefaultType = Telerik.Charting.ChartSeriesType.StackedSplineArea100  
        RadChart1.AutoLayout = True 
        RadChart1.PlotArea.YAxis.Appearance.TextAppearance.TextProperties.Color = Drawing.Color.Black  
        RadChart1.PlotArea.XAxis.Appearance.TextAppearance.TextProperties.Color = Drawing.Color.Black  
        RadChart1.PlotArea.XAxis.Appearance.LabelAppearance.RotationAngle = "90" 
        RadChart1.PlotArea.XAxis.Appearance.ValueFormat = ChartValueFormat.ShortDate  
        RadChart1.PlotArea.XAxis.DataLabelsColumn = "WeekRestored" 
        RadChart1.ChartTitle.TextBlock.Appearance.TextProperties.Font = New System.Drawing.Font("Arial", 14, Drawing.FontStyle.Regular)  
        RadChart1.ChartTitle.TextBlock.Appearance.TextProperties.Color = Drawing.Color.CadetBlue  
      
        RadChart1.DataSourceID = "myDataSource" 
        RadChart1.DataBind() 
Dan Schmecker
Top achievements
Rank 1
 answered on 21 Dec 2009
1 answer
154 views
Hi there,

I have several custom Link Managers that I use to link to various internal pages - microsites, unsubscribe pages, surveys etc., as well as ordinary links. These managers return a link in the format <a href="" customtype="typename" customid="1234">content</a>. When I insert this into the editor using pasteHtml in IE 7 and 8, nothing is pasted in. If I remove the empty href attribute, then the link will be pasted in and in other browsers this has no consequences so this is the method I am using. However, again in IE 7 and 8, the links do not get styled as links without an href, so unless I set a class directly on the link, it just looks like plain text, which is confusing for users.

If I load an editor with a link formatted as above with the empty href attribute, it behaves as it should, so the editor is happy enough with the custom link. It just seems that the pasteHtml function has problems with it for IE? Is there anything I can do about this?

I'm using radEditor AJAX 2009, Q3

Thanks,
Nick
Rumen
Telerik team
 answered on 21 Dec 2009
1 answer
122 views

If I add a picture to my RadEditor in the design view and update the form the editor seems to strip out the HTML.  If I add a picture in design view and go to HTML view, copy and past the HTML into design view it works without stripping it out.  I searched the forum but could not find anyone else having this issue.  I am using 2009 Q3.  Code pasted below.  Thanks to anyone who can help!

 

Html trying to insert:

 test<img alt="" src="/databend/Files/image/eatonftw2.jpg" />test 4

 

 

Code:

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="editor.ascx.cs" Inherits="isite_controls_editor" %>

 

<telerik:RadEditor ID="RadEditor1" runat="server" ImageManager-UploadPaths="~/isite_files/image" SkinID="DefaultSetOfTools" DocumentManager-MaxUploadFileSize="4000000" FlashManager-MaxUploadFileSize="10000000" ImageManager-MaxUploadFileSize="4000000">

          <MediaManager ViewPaths="~/Files/media" UploadPaths="~/Files/media" DeletePaths="~/Files/media" />

          <ImageManager ViewPaths="~/Files/image" UploadPaths="~/Files/image" DeletePaths="~/Files/image" />

          <FlashManager ViewPaths="~/Files/video" UploadPaths="~/Files/video" DeletePaths="~/Files/video" />

          <DocumentManager ViewPaths="~/Files/document" UploadPaths="~/Files/document" DeletePaths="~/Files/document" />

          <Tools>

                <telerik:EditorToolGroup Tag="FileManagers">

                    <telerik:EditorTool Name="ImageManager"/>

                    <telerik:EditorTool Name="FlashManager" />

                    <telerik:EditorTool Name="MediaManager" />

                    <telerik:EditorTool Name="DocumentManager" />

                    <telerik:EditorTool Name="AjaxSpellCheck" />

                    <telerik:EditorTool Name="InsertTime" />

                    <telerik:EditorTool Name="Print" />

                    <telerik:EditorTool Name="Redo" />

                    <telerik:EditorTool Name="Undo" />

                    <telerik:EditorTool Name="LinkManager" />

                    <telerik:EditorTool Name="Unlink" />

                    <telerik:EditorTool Name="TableWizard" />

                </telerik:EditorToolGroup>

                <telerik:EditorToolGroup>

                    <telerik:EditorTool Name="Bold" />

                    <telerik:EditorTool Name="Italic" />

                    <telerik:EditorTool Name="Underline" />

                    <telerik:EditorSeparator />

                    <telerik:EditorTool Name="ForeColor" />

                    <telerik:EditorTool Name="BackColor" />

                    <telerik:EditorSeparator />

                    <telerik:EditorTool Name="FontName" />

                    <telerik:EditorTool Name="RealFontSize" />

                </telerik:EditorToolGroup>

            </Tools>

 

         

          </telerik:RadEditor>

 

(No code in codebehind)

Rumen
Telerik team
 answered on 21 Dec 2009
5 answers
76 views
Hi,

I have give select option to my Radgrid. I have select button type as image, In firefox its show corectly Select. But IE its show Image not found Icon [X] with select , Why that?

lakmal
Princy
Top achievements
Rank 2
 answered on 21 Dec 2009
1 answer
77 views
I have couple of tabs in a window, the text is long and the window size is small this causes the tabs to break.
I want to have the data to come one below the other causing the tabs to be of specific length horizontally but I can have them increace vertically.

I had made the tabstrip property isBreak="False" but a problem occured due to the size of the window
Is there any solution to this?

Thanks
Sneha
Shinu
Top achievements
Rank 2
 answered on 21 Dec 2009
5 answers
166 views
Hi,

In FireFox (3.5.6) and others the href property of an A becomes a relative link.

So if my CMS page is content/edit.aspx, all links in the editor become /content/<original link here>

This is not happening in IE8.
I tried to solve with Telerik.Web.UI.Editor.StripPathsFilter but didn't work.

BR,
Marc
Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
 answered on 21 Dec 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
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
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?