Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
239 views
I have successfully implemented two web services to populate two RadComboBox's.  I appreciate the elegant simplicity of Telerik's design.  However, yesterday I discoverd that it's important to give the server-side web service code additional information, more than just the characters that the user typed that get passed in Context.  Please comment on these possible means to that end:

1.  I could concatenate the parameters onto Context.Text.  Instead of just "typedChars", I would separate with ":" and make it into "typedChars:param1:param2".  To accomplish this, I would need to customize the client side call to the web service.  How can I customize the Javascript code in order to modify the Context.Text value?

2. Put "param1" and "param2" into Session.  However, the web server side doesn't appear to have access to the Session the web site itself uses.  Is there a way to access Session?

3. Write "param1" and "param2" into the SQL Server database.  These parameters are fixed when the user logs on, so I know them well before the user types characters into the RadComboBox.  However, there would be several pairs of such values, two for each logged on browser user, and I need a way to identify the correct browser user.  What is common between the information the server-side page code knows and what the server-side web server code knows?

4. Any other method you may be aware of.

TIA,
Don
Veselin Vasilev
Telerik team
 answered on 07 May 2009
1 answer
112 views
Hi

I have pressed "find and replace" button on the editor toolbar and selected "Match whole words", when i click the find button it still searches for part of words. This has happened in Mozzila Firefox, Safari and Chrome (not IE). Maybe on other browsers as well.
It's not urgent :) it would just be nice to have it working well sometimes.

Regards,
Teo
Lini
Telerik team
 answered on 07 May 2009
1 answer
101 views

I am trying to use in one page code from both of the following demos:

http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/nestedviewtemplate/defaultcs.aspx

http://demos.telerik.com/aspnet-ajax/calendar/examples/datepicker/custompopup/defaultcs.aspx

I have not yet converted the grid columns and data sources to fit my project, because I have a compile error:

Script controls may not be registered before PreRender

I get this error after I add the Calendar code to the page.

How can I resolve it?  ( I tried many variations of the code with no success.)



Steve
Tsvetoslav
Telerik team
 answered on 07 May 2009
5 answers
350 views
with this code :

            <telerik:RadSplitter ID="rsSS" runat="server" BorderSize="0" Orientation="Horizontal" FullScreenMode="true" EnableEmbeddedSkins="false" Skin="DnsReg">  
                <telerik:RadPane ID="rpSSHeader" runat="server" Locked="true" Height="70px">  
                    header  
                </telerik:RadPane> 
                <telerik:RadSplitBar ID="rsp" runat="server" /> 
                <telerik:RadPane ID="rpSSBody" runat="server" Locked="true" Scrolling="None">  
                    <telerik:RadSplitter ID="rsMain" runat="server" BorderSize="0" FullScreenMode="true" EnableEmbeddedSkins="false" Skin="DnsReg" Orientation="Vertical">  
                       <telerik:RadPane ID="rpOverviewItems" runat="server" BorderWidth="0">  
                            <telerik:RadSlidingZone ID="rszDomains" runat="server" Width="20px" ClickToOpen="false" DockedPaneId="rpDomains">  
                                <telerik:RadSlidingPane ID="rpDomains" runat="server" CssClass="slidingPane" Width="180px" DockText="Domains" Title="Domains">  
                                    test 1<br /> 
                                    test 3  
                                </telerik:RadSlidingPane> 
                                 <telerik:RadSlidingPane ID="RadSlidingPane1" runat="server" CssClass="slidingPane" Width="180px" DockText="Hosting" Title="Hosting">  
                                    test 1<br /> 
                                    <asp:LinkButton ID="lbKlikHier" runat="server" Text="Klik hier" OnClick="lbKlikHier_Click" /> 
                                </telerik:RadSlidingPane> 
                            </telerik:RadSlidingZone> 
                        </telerik:RadPane> 
                       <telerik:RadSplitBar ID="rsb1" runat="server" CssClass="test" /> 
                       <telerik:RadPane ID="RadPane1" runat="server">  
                            <asp:Panel ID="pnlPage" runat="server">  
                                    <telerik:RadSplitter ID="rp" runat="server" ResizeWithParentPane="true" PanesBorderSize="0">  
                                        <telerik:RadPane ID="rpPage" runat="server" ContentUrl="test.aspx" /> 
                                    </telerik:RadSplitter> 
                            </asp:Panel> 
                            <telerik:RadAjaxLoadingPanel ID="LoadingPanel1" runat="server" Style="padding-top: 125px;" Height="75px" Width="75px" Transparency="6" BackColor="White">  
                                <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading1.gif") %>' style="border:0;" /> 
                            </telerik:RadAjaxLoadingPanel> 
                       </telerik:RadPane> 
                    </telerik:RadSplitter> 
                </telerik:RadPane> 
            </telerik:RadSplitter> 


I have this result : http://www.x-it.be/fullscreen.jpg

So my fullscreen function doesn't work ... and I don't understand why ? Could somebody explain me what the problem is ?
Svetlina Anati
Telerik team
 answered on 07 May 2009
4 answers
866 views
Hi,
 If you have 2 date pickers / datetime pickers and they are "start date" and "end dates" and you want to prevent the user from choosing a date before or after the date set the opposite picker what are your options, I could probably code this using javascript using the mindate / maxdate and update as the user changes the values but has someone done this already?

I used to use Peter's Date Package and you could link two date pickers together and they would automatically adjust themselves depending on what you chose and prevent you from choosing a start date after the end date and vice versa without you having to write any new code.

L.

You can see what i am talking about here:

http://www.peterblum.com/DES/DemoDateTextBox.aspx

Scroll down to bottom:

Two DateTextBox fields can be linked together to support date range entry. This enforces that the start date never exceeds the end and vice versa. You can require a minimum number of days between the two dates and several other rules.






Relative
Top achievements
Rank 1
 answered on 07 May 2009
3 answers
118 views
I am attempting to have a view that is similar to Exchange OWA. It works great in IE 7.0, but in Firefox 3, I cannot get it to show the full contents of the page. Here are some screenshots:

In IE, the desired result.
Firefox Cuts It Off

Here's the page definition:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<%@ Register Src="Controls/QueueTree.ascx" TagName="QueueTree" TagPrefix="uc1" %> 
<%@ Register Src="Controls/TaskListPanel.ascx" TagName="TaskListPanel" TagPrefix="uc2" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" style="height: 100%">  
<head runat="server">  
    <title></title>  
</head> 
<body style="margin: 0px; height: 100%; overflow: hidden;">  
    <form id="form1" runat="server">  
    <telerik:RadScriptManager ID="pageScriptManager" runat="server">  
    </telerik:RadScriptManager> 
    <telerik:RadToolBar ID="tbSystemMain" runat="server" Skin="WebBlue" Width="100%" AutoPostBack="true">  
        <Items> 
            <telerik:RadToolBarButton runat="server" Text="New Ticket" CommandName="NewTicket">  
            </telerik:RadToolBarButton> 
            <telerik:RadToolBarButton runat="server" IsSeparator="True">  
            </telerik:RadToolBarButton> 
            <telerik:RadToolBarButton runat="server" Text="Knowledge Base" NavigateUrl="KnowledgeBase.aspx">  
            </telerik:RadToolBarButton> 
            <telerik:RadToolBarButton runat="server" IsSeparator="True">  
            </telerik:RadToolBarButton> 
            <telerik:RadToolBarButton runat="server" Text="My Preferences" CommandName="UserPreferences">  
            </telerik:RadToolBarButton> 
        </Items> 
    </telerik:RadToolBar> 
    <telerik:RadSplitter ID="spltMainPage" runat="server" Skin="WebBlue" Width="100%" 
        Height="100%">  
        <telerik:RadPane ID="paneLeftNavigation" Width="300px" MaxWidth="400" MinWidth="250" runat="server">  
            <telerik:RadPanelBar ID="pnlBarMain" runat="server" Skin="WebBlue" Width="100%">  
                <Items> 
                    <telerik:RadPanelItem runat="server" Text="Queues" Expanded="true" PreventCollapse="true">  
                        <ItemTemplate> 
                            <uc1:QueueTree ID="queueList" runat="server" /> 
                        </ItemTemplate> 
                    </telerik:RadPanelItem> 
                    <telerik:RadPanelItem runat="server" Text="Tasks" PreventCollapse="false" Expanded="false">  
                        <Items> 
                            <telerik:RadPanelItem runat="server">  
                                <ItemTemplate> 
                                    <uc2:TaskListPanel ID="taskList" runat="server" /> 
                                </ItemTemplate> 
                            </telerik:RadPanelItem> 
                        </Items> 
                    </telerik:RadPanelItem> 
                    <telerik:RadPanelItem runat="server" Text="My Statistics" PreventCollapse="false" 
                        Expanded="false">  
                    </telerik:RadPanelItem> 
                </Items> 
            </telerik:RadPanelBar> 
        </telerik:RadPane> 
        <telerik:RadSplitBar ID="sbLeftNavTicketList" runat="server" /> 
        <telerik:RadPane Scrolling="Y" ID="paneWorkingWindow" runat="server" ContentUrl="~/SubPages/TicketList.aspx?ID=-1" /> 
    </telerik:RadSplitter> 
    </form> 
</body> 
</html> 
 

I am following the recommendations in the documentation concerning styles to render in a full page. Notice the style attribute on lines 7 and 11.

Why am I getting this rendering problem?
Svetlina Anati
Telerik team
 answered on 07 May 2009
2 answers
191 views
Hi

I've followed the example on putting a radtreeview in a radcombo box. My datasource for the treeview is from an entitydatasource. The Treeview DataTextField is set to "name" and the DataValueField is set to "ID" of the tree item data.

Im having a problem getting the selected ID of the selected treenode within the combo box.

When i get the .SelectedValue of the combobox it returns the DataTextField of the treeview.
When i get the .SelectedItem.Value of the combobox it returns the DataTextField of the treeview.
When i get the .SelectedItem.Text of the combobox it returns an empty string.

Is this a problem at my end or a bug

Thanks


Veselin Vasilev
Telerik team
 answered on 07 May 2009
1 answer
112 views
I want to have one skin for the radeditor and a different skin for the file managers windows/dialog boxes etc. (i.e. image manager using Black and editor with Office 2007)

Is this possible?

Thanks, Steve
Georgi Tunev
Telerik team
 answered on 07 May 2009
1 answer
132 views

 

<MasterTableView Caption="Budget for Manager Below & Sub-Managers" Font-Bold="True" Font-Size="12px" >
caption font displayed properly in IE browser, but it is not displaying properly in mozilla firefox browser,what was the reason,
the above coding should support both browser, is there any option

 

Dimo
Telerik team
 answered on 07 May 2009
3 answers
119 views
I apologize if this is a dumb question, I haven't worked with your controls for a few versions. In the old controls you could set the radcontrols directory location with a similarly named property. I am using the ASP.NET AJAX Q3 2008 version and I don't see that property for the RadScheduler. Did that go away? I am building a custom MOSS web part trying to incorporate the scheduler, how can I specify where the directory exists?

Thanks.
Joe
Top achievements
Rank 1
 answered on 07 May 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?