Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
255 views
Hi,
I'm trying to have some sort of feedback given to the user about the strength of the password, which is calculated on the server. I have a textchanged event that fires and updates some labels and the like. However, when it re loads the page, the text in the textbox is gone ....

Is it possible to maintain the values of a textbox that is set to password type in between postbacks (ajax or regular)?

If so, how?

Thanks
Giuseppe
Telerik team
 answered on 13 Mar 2008
1 answer
238 views
Hi,

I have installed a hotfix I was given to solve a problem with treeview (2007.3.1428) and now my dialog handler registration in web.config is no longer recognised.  I have erased the previous handler and used the smart tag to add it again and although the spellcheck handler works ok, the dialog handler does not.  It gives the message that the registration is missing.

Please help as this is very urgent!

Darren.
Rumen
Telerik team
 answered on 13 Mar 2008
12 answers
393 views
 After installing Radeditor Lite 4.5 everything seems to work OK, but when trying to insert a picture using the Image Manager, I got this 

Server Error in '/' Application.
--------------------------------------------------------------------------------
Invalid URL: /. 
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.ArgumentException: Invalid URL: /.
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: 

[ArgumentException: Invalid URL: /.]
   Microsoft.SharePoint.SPSite.OpenWeb(String strUrl, Boolean requireExactUrl) +152
   Microsoft.SharePoint.SPSite.OpenWeb(String strUrl) +32
   Telerik.SharePoint.Editor.SPContentProvider.GetSPFolderFromPath(String path) +154
   Telerik.SharePoint.Editor.SPContentProvider.ResolveDirectory(String path) +11
   Telerik.SharePoint.Editor.SPContentProvider.ResolveRootDirectoryAsTree(String path) +4
   Telerik.WebControls.RadEditorUtils.FileBrowserContentProvider.ResolveViewPaths() +83
   Telerik.WebControls.EditorControls.FileBrowser.SerializeViewPaths() +104
   Telerik.WebControls.EditorControls.FileBrowser.OnPreRender(EventArgs e) +168
   System.Web.UI.Control.PreRenderRecursiveInternal() +86
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2041

 

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

The Event log on the server reported this:

Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date:  5-3-2008
Time:  16:38:15
User:  N/A
Computer: ECNSPS
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 5-3-2008 16:38:15
Event time (UTC): 5-3-2008 15:38:15
Event ID: 1083cf4990af447993330230824c6c7c
Event sequence: 8375
Event occurrence: 26
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/1271277176/Root-1-128491526634139648
    Trust level: WSS_Minimal
    Application Virtual Path: /
    Application Path: C:\Inetpub\wwwroot\wss\VirtualDirectories\portal80\
    Machine name: ECNSPS
 
Process information:
    Process ID: 42612
    Process name: w3wp.exe
    Account name: DOMAIN\MOSS_POOL_SSP
 
Exception information:
    Exception type: ArgumentException
    Exception message: Invalid URL: /.
 
Request information:
    Request URL: http://portal/_wpresources/RadEditorSharePoint/4.5.0.0__1f131a624888eeed/RadControls/Editor/Dialog.aspx?dialog=ImageManager&editorID=ctl00_m_g_90fd7e50_d270_4d20_a1df_c06149393b3b_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00_RadTextField&useSession=0&sessionID2=f9ffa2c0-4687-30ab-b778-ad6d58c62fc3&language=en_US&UseEmbeddedScripts=yes
    Request path: /_wpresources/RadEditorSharePoint/4.5.0.0__1f131a624888eeed/RadControls/Editor/Dialog.aspx
    User host address: 130.112.132.61
    User: DOMAIN\MOSS_SETUP
    Is authenticated: True
    Authentication Type: NTLM
    Thread account name: DOMAIN\MOSS_POOL_SSP
 
Thread information:
    Thread ID: 5
    Thread account name: DOMAIN\MOSS_POOL_SSP
    Is impersonating: False
    Stack trace:    at Microsoft.SharePoint.SPSite.OpenWeb(String strUrl, Boolean requireExactUrl)
   at Microsoft.SharePoint.SPSite.OpenWeb(String strUrl)
   at Telerik.SharePoint.Editor.SPContentProvider.GetSPFolderFromPath(String path)
   at Telerik.SharePoint.Editor.SPContentProvider.ResolveDirectory(String path)
   at Telerik.SharePoint.Editor.SPContentProvider.ResolveRootDirectoryAsTree(String path)
   at Telerik.WebControls.RadEditorUtils.FileBrowserContentProvider.ResolveViewPaths()
   at Telerik.WebControls.EditorControls.FileBrowser.SerializeViewPaths()
   at Telerik.WebControls.EditorControls.FileBrowser.OnPreRender(EventArgs e)
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 
 
Custom event details:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
It seems that it can't find the picture libraries present somehow.

Any Ideas?
MaBerY
Top achievements
Rank 1
 answered on 13 Mar 2008
5 answers
217 views
                    <telerik:radcombobox id="PageSize" runat="server" width="40px" skin="Office2007">  
                        <items> 
                            <telerik:radcomboboxitem value="25" text="25" /> 
                            <telerik:radcomboboxitem value="50" text="50" /> 
                            <telerik:radcomboboxitem value="100" text="100" /> 
                            <telerik:radcomboboxitem value="200" text="200" /> 
                        </items> 
                    </telerik:radcombobox> 
 

This combobox when expanded shows scrollbars and the horizontal scrollbar is hiding last choice.
Is it possible to disable scrollbars without changing width of the combobox?

Thanks,
Grisha
Paul
Telerik team
 answered on 13 Mar 2008
5 answers
244 views
It is now available in this blog post:
http://blogs.telerik.com/StoyanStratev/Posts/08-02-29/A_Preview_of_the_RadEditor_Prometheus_provider_for_DotNetNuke.aspx

Any feedback is very welcome.

Telerik Team
Lini
Telerik team
 answered on 13 Mar 2008
1 answer
86 views
I have two RadTextboxes on a web page and they are both using the Web20 skin via a theme.

The first textbox is a regular single line text box and it shows up with the appropriate font (i.e. Arial).

The 2nd textbox is a muliline textbox  (i.e. TextMode="MultiLine" Rows="4") and it shows up with an incorrect font (i.e. Times new roman i think).

Any ideas?

Thanks
Dimo
Telerik team
 answered on 13 Mar 2008
1 answer
181 views
hI

How do i hide the week numbers on the calendar part of a rad date picker

thanks
Pavel
Telerik team
 answered on 13 Mar 2008
1 answer
201 views
I am creating a custom ITemplate for the AdvancedInsertTemplate by doing the following:

RadScheduler sched = new RadScheduler();
EventForm myEventForm = new EventForm();
sched.AdvancedInsertTemplate = (ITemplate) myEventForm;

In my ITemplate I have created several TextBoxes for user input as well as a Save Button for them to save the event.

When I double-click on my Scheduler it goes to the insert template as expected, but I am unsure of how to have my custom ITemplate close and return to the scheduler when I click Cancel or Save. Do I somehow link into the event handlers already supplied with the RadScheduler and if so, how?

Thanks.
T. Tsonev
Telerik team
 answered on 13 Mar 2008
2 answers
83 views
Hi,
I'm trying to wrap the splitter control in a custom control.  Here's what I have so far, which doesn't error out but it doesn't paint a complete control.  It's seems to render the left "sliding zone" but not the insides.  Then it renders the right side correctly.

Any suggestions as to what I'm doing wrong?  Thanks, in advance, for your help.  You guys are always so helpful.
Beth

[DefaultProperty("Text")]  
    [ToolboxData("<{0}:MySplitter runat=server></{0}:MySplitter>")]  
    public class MySplitter : WebControl, INamingContainer  
    {  
        private RadSplitter mainSplitter;  
        private RadPane leftPane;  
        private RadSlidingZone  leftPaneSlidingZone;  
        private RadSlidingPane  leftPaneSlidingPane;  
        private RadPane rightPane;  
        private RadSplitBar splitBar;  
 
        protected override void CreateChildControls()  
        {  
            // ----------- create the splitter control  
            mainSplitter = new RadSplitter();  
            mainSplitter.EnableEmbeddedSkins = false;  
            mainSplitter.EnableTheming = true;  
              
            // ----------- create the panes and splitbars  
            leftPane = new RadPane();  
            leftPaneSlidingZone = new RadSlidingZone();  
            leftPaneSlidingPane = new RadSlidingPane();  
            rightPane = new RadPane();  
            splitBar = new RadSplitBar();  
 
 
            leftPane.Controls.Clear();  
 
            leftPaneSlidingPane.ID = "lftSlidingPane";  
            leftPaneSlidingPane.Title = "test";  
 
            // add content to leftPaneSlidingPane  
            Label label1 = new Label();  
            label1.Text = "Content of Left Pane";  
            leftPaneSlidingPane.Controls.Add(label1);  
 
            // Place sliding pane inside sliding zone  
            leftPaneSlidingZone.ID = "lftPaneSlidingZone";  
            leftPaneSlidingZone.Controls.Add(leftPaneSlidingPane);  
 
            // Place sliding zone inside the left pane  
            leftPane.Controls.Add(leftPaneSlidingZone);  
 
            rightPane.Controls.Clear();  
            // add content to right pane  
            Label label2 = new Label();  
            label1.Text = "Content of right Pane";  
            rightPane.Controls.Add(label1);  
 
            mainSplitter.Items.Add(leftPane);  
            mainSplitter.Items.Add(splitBar);  
            mainSplitter.Items.Add(rightPane);  
 
            Controls.Add(mainSplitter);  
        } 

Beth Krawczuk
Top achievements
Rank 1
 answered on 12 Mar 2008
2 answers
77 views
Hi,
I'm trying to wrap the splitter control in a custom control.  Here's what I have so far, which doesn't error out but it doesn't paint a complete control.  It's seems to render the left "sliding zone" but not the insides.  Then it renders the right side correctly.

Any suggestions as to what I'm doing wrong?  Thanks, in advance, for your help.  You guys are always so helpful.
Beth

[DefaultProperty("Text")]  
    [ToolboxData("<{0}:MySplitter runat=server></{0}:MySplitter>")]  
    public class MySplitter : WebControl, INamingContainer  
    {  
        private RadSplitter mainSplitter;  
        private RadPane leftPane;  
        private RadSlidingZone  leftPaneSlidingZone;  
        private RadSlidingPane  leftPaneSlidingPane;  
        private RadPane rightPane;  
        private RadSplitBar splitBar;  
 
        protected override void CreateChildControls()  
        {  
            // ----------- create the splitter control  
            mainSplitter = new RadSplitter();  
            mainSplitter.EnableEmbeddedSkins = false;  
            mainSplitter.EnableTheming = true;  
              
            // ----------- create the panes and splitbars  
            leftPane = new RadPane();  
            leftPaneSlidingZone = new RadSlidingZone();  
            leftPaneSlidingPane = new RadSlidingPane();  
            rightPane = new RadPane();  
            splitBar = new RadSplitBar();  
 
 
            leftPane.Controls.Clear();  
 
            leftPaneSlidingPane.ID = "lftSlidingPane";  
            leftPaneSlidingPane.Title = "test";  
 
            // add content to leftPaneSlidingPane  
            Label label1 = new Label();  
            label1.Text = "Content of Left Pane";  
            leftPaneSlidingPane.Controls.Add(label1);  
 
            // Place sliding pane inside sliding zone  
            leftPaneSlidingZone.ID = "lftPaneSlidingZone";  
            leftPaneSlidingZone.Controls.Add(leftPaneSlidingPane);  
 
            // Place sliding zone inside the left pane  
            leftPane.Controls.Add(leftPaneSlidingZone);  
 
            rightPane.Controls.Clear();  
            // add content to right pane  
            Label label2 = new Label();  
            label1.Text = "Content of right Pane";  
            rightPane.Controls.Add(label1);  
 
            mainSplitter.Items.Add(leftPane);  
            mainSplitter.Items.Add(splitBar);  
            mainSplitter.Items.Add(rightPane);  
 
            Controls.Add(mainSplitter);  
        } 

Beth Krawczuk
Top achievements
Rank 1
 answered on 12 Mar 2008
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?