Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
88 views
Hello,

I am working with the Rad Dock controls to implement a web app where you can create and have a bunch of rad docks  in three zones all containing different widgets, or the same widget but different views. But that does not matter too much for my two questions

First I am wondering is if it is possible to somehow have one Rad Dock span across multiple Rad Dock Zones. The dock zones are in a 3 column layout.  Can I have for example a dock from zone1 extend to zone2 or even to zone3, and still keep the normal flow and layout of the other docks. The zones use a vertical orientation.

What I am basically looking to do is change the width of the Dock, but have it not interrupt or cover any other Docks.

And my second question would be If there are other  ways  to get the client side objects for docks or zones.  Most of the examples  use
server side code snippets  like :
<%= RadDockingZone1.FindControl("Dock0").ClientID %> 
which I am unable to use due to some of the constraints on the application.  And the ID's of the Docks are dynamic because there is constant dock creation and deletion. So I was thinking maybe there is a way to get the client object via a css class or something to do with events ?

All of the docks are in Dock mode, so they can't be floated around.

Thanks in advance.

Slav
Telerik team
 answered on 23 Sep 2011
3 answers
106 views
Hi, I have enabled context menu & RadToolTip in the TreeView nodes. Once If hover my mouse and right click, I am getting both ToolTip and Context menu.How to control this. If I right click, have to close radToolTip and just display Context menu.

Thanks in advance.

Thanks,
Mulagundla


Princy
Top achievements
Rank 2
 answered on 23 Sep 2011
1 answer
85 views
Hello

I would like to install telerik radedit for SharePoint 2010 on top of my existing WCF site.
I assume that activating feature on the site level will replace all the out of the box editor by the telerik one in my page layouts.
Could you please confirm me that ? and could you also tell me if the content can be impacted. Will it be fully transparent for end-users ?

Thank in advance,
Rumen
Telerik team
 answered on 23 Sep 2011
1 answer
50 views
Hi,

I build a simple web application where I bind some data from database to radgrid. While in VS 2010 and run the application, everything is fine: I can sort, filter, group, everything is fine. Once I deploy the web application to IIS, the data is binded correctly to the radgrid but I cannot sort, filter ... anything!

Any ideas what might be the problem? I thought about IIS settings ... but couldn't find any issue there!

Thanks!
Princy
Top achievements
Rank 2
 answered on 23 Sep 2011
2 answers
167 views
Hi ,

I am using RadSchedulerRecurrenceEditor control only ( No Schedular).

i am using window manager to popup Recurrenceeditor  from same page as a popup window on click of button.
please see following code
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" ShowContentDuringLoad="false">
        <Windows>
                       <telerik:RadWindow ID="winPopupRecurrence" runat="server" 
                ShowContentDuringLoad="true" KeepInScreenBounds="true" Modal="true" Width="600px"
                Height="450px">
                <ContentTemplate>
                    <div
                        <telerik:RadSchedulerRecurrenceEditor ID="RadRecurrenceEditor" runat="server">
                        </telerik:RadSchedulerRecurrenceEditor>
                          
                        </br>
                        <asp:Button ID="BtnSaveRecurrence" runat="server" Text="Save" CausesValidation = "false"  OnClientClick = "Close(); return false;"/>
                    </div>
                      
                </ContentTemplate>
            </telerik:RadWindow>
        </Windows>
    </telerik:RadWindowManager>

Code file
winPopupRecurrence.OpenerElementID = LbRecurrencePattern.ClientID;
now when i open this window i can see recurrence editor control.
i have added following JS functions for by default checking recurrence option and hiding hourly and yearly option
function pageLoad() {
        var $ = $telerik.$;
        $(".RecurrenceEditor").children().each(function (i) {
            if (i == 0) {
                $($($(this).children()[0]).children()[0]).attr("checked", "checked");
            }
            else if (i == 1)
                this.style.display = "block";
        });
        var $ = $telerik.$;
        $(".rsRecurrenceOptionList").children().each(function (i) {
            if (i == 0 || i == 4)
                $(this).hide();
        });

Till this point its working fine.

now i am facing some issues:
1. in weekly option list i want to set day checkbox checked as true for todays date. e.g. if today is monday , monday checkbox should be checked and  same for other days.
2. in monthly list option , drowpdown are not working to select for any specific day of month. but if we press up or down arrow click it is working.
3. in popup window i have put close button . but when i click on that i dont get window object in parent page. my parent page contains master page.
4. I also want to check recurrence end date with my one variable on page . i am not able to get end date from recurrenceeditor.

can you please help me in above issues ... its urrgent.

Thanks,
Abhijit Chaudhari
Ivana
Telerik team
 answered on 23 Sep 2011
1 answer
81 views

When ever I call registeration page, I get this error.   If i ignore, the Page do gets load, but with javascript error.
Looking at some recommendations... we have added following lines in Web.Config,  but still the error remains.
 <system.web.extensions>
    <scripting>
      <scriptResourceHandler enableCompression="false" enableCaching="true" />
    </scripting>
  </system.web.extensions>

and

<xhtmlConformance mode="Transitional" />

Regards
JD

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)
Timestamp: Thu, 22 Sep 2011 09:57:03 UTC

Message: Syntax error
Line: 2
Char: 1
Code: 0
URI: http://localhost:1454/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptMgr1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a1f68db6e-ab92-4c56-8744-13e09bf43565%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2011.1.519.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a911e11b9-43a3-4153-a0e1-a8dd325e7573%3a16e4e7cd%3af7645509%3a24ee1bba%3ae330518b%3a1e771326%3ac8618e41%3a4c8be21a%3a874f8ea2%3af46195d3%3a650fdad%3aef9d9f4a%3aa477e7db%3aa51ee93e%3a59462f1%3ad5feb5b1%3a2bef5fcc%3aaa288e2d

Message: ASP.NET Ajax client-side framework failed to load.
Line: 41
Char: 34
Code: 0
URI: http://localhost:1454/user/Register.aspx

Message: 'Sys' is undefined
Line: 55
Char: 1
Code: 0
URI: http://localhost:1454/user/Register.aspx

Message: 'Telerik' is undefined
Line: 661
Char: 3
Code: 0
URI: http://localhost:1454/user/Register.aspx

Message: 'Telerik' is undefined
Line: 802
Char: 9
Code: 0
URI: http://localhost:1454/user/Register.aspx

 

Princy
Top achievements
Rank 2
 answered on 23 Sep 2011
2 answers
224 views
Hi all,

Right now I am pulling values from 2 columns in a RadGrid control, and programitcally putting them into a table cell. Then, I am adding that table cell into a gridataitem, programitcally.

What I want to do, is then insert that griddataitem into a control within an item tempalte that contains a header and a footer.

Here is a sample of what I am doing:
<P>GridDataItem item = e.Item as GridDataItem;<BR></P>
<P>string totala =
item.OwnerTableView.DataKeyValues[dataItem.ItemIndex]["total1"].ToString();<BR>string
totalb =
item.OwnerTableView.DataKeyValues[dataItem.ItemIndex]["total2"].ToString();<BR></P>
<P>double a = double.Parse(totala.ToString());<BR>double b =
double.Parse(totalb.ToString());<BR>double c = a + b;</P>
<P><BR>TableCell tc = new TableCell();<BR>tc.Text = c.ToString("c");</P>
<P><BR>item.Cells.Add(tc);<BR></P>

Any ideas?



Princy
Top achievements
Rank 2
 answered on 23 Sep 2011
1 answer
116 views
Hi,

I have an ascx user control inside my radWindow in my page (see RadWindow code below),
Inside my wizard control my Edit button brings up the radWindow properly, it seems to bind correctly to my formview but the when saving it does not work,
** in particular the parameter values to my update call are unchanged.**
So it will eval correctly but not 2-way bind, I double-checked that I have 'bind' not eval. The radWindowManager is inside my master page.
In my control's formview there is no surrounding panels or updatePanels.

I use javascript to open the window, but my Save button executes and runs code-behind.

The control's 2-way bind was working in its old page (without a popup) and theres only been minor changes.
Any ideas why the expected 2-way bind is failing in a radWindow?


 <telerik:RadWindow ID="radWindowForControls" Title="Applicant Details" KeepInScreenBounds="true" Behaviors="Maximize,Move" EnableShadow="true"  runat="server"  AutoSize="true"  Modal="true"  >
        <ContentTemplate>
         <div align="right">
            <asp:Button ID="Button49" runat="server" CausesValidation="false" Text="Save" OnClick="btnSave_Click" />
            <asp:Button ID="Button50" runat="server" CausesValidation="false" Text="Save and Close"
                OnClick="btnSave_Click" />
            <asp:Button ID="Button51" runat="server" CausesValidation="false" Text="Cancel"
                OnClick="btnCancel_Click" OnClientClick="return promptCancel()" />
        </div>
            <uc1:ATAppDetails ID="myCtrlATAppDetails" runat="server"  />
             <div align="right">
            <asp:Button ID="Button52" runat="server" CausesValidation="false" Text="Save"
                OnClick="btnSave_Click" />
            <asp:Button ID="Button53" runat="server" CausesValidation="false" Text="Save and Close"
                OnClick="btnSave_Click" />
            <asp:Button ID="Button54" runat="server" CausesValidation="false" Text="Cancel"
                OnClick="btnCancel_Click" OnClientClick="return promptCancel()" />
        </div>
        </ContentTemplate>
    </telerik:RadWindow>
Marin Bratanov
Telerik team
 answered on 23 Sep 2011
1 answer
132 views
Hello,

I create raddock dynamically. I wish to add newly created raddock at  any position in the raddockzone.

RadDockZone1.Controls.Add(dock) - adds dock at index 0 by default.

Can you please suggest approach to add newly created raddock at any position in the raddockzone ?

Thanks
Slav
Telerik team
 answered on 23 Sep 2011
4 answers
125 views
I have a radEditor on a page with the FindAndReplace toolbar button defined.  On the client, when I click the button, the dialog opens up as expected and I'm able to enter the text into the Find textbox.  Nothing happens after I click find (no text is highlighted), even though the word I'm looking for is there (multiple times).

On the replace tab, I'm able to find the first instance of the target word (it's highlighted in the editor), but only the the Replace All button works.  The replace button does nothing.  (After the replace button is executed, a message box is displayed saying "FindAndReplace_AllReplaced".

Only after I get this message will I get messages when I click Find (either tab) or Replace indicating FindAndReplace_NotFound.  (This message isn't displayed until I click the Replace All button.

I'm using Q2 2009 tools against VS2008 (c#).  This is occuring in IE7.  We don't test against other browsers.

The radEditor/toolbar declaration is as follows:

            <telerik:RadEditor  
                ID="tbNote"  
                runat="server" 
                Width="502px"  
                TextMode="MultiLine"  
                Wrap="True"                  
                EditModes="Design"  
                Height="250px"  
                Style="overflow:auto;border: 1px solid navy;" Font-Size="Medium" > 
                <Tools> 
                    <telerik:EditorToolGroup Tag="BasicFunctions"
                        <telerik:EditorTool Name="Cut" /> 
                        <telerik:EditorTool Name="Copy" /> 
                        <telerik:EditorTool Name="Paste" /> 
                        <telerik:EditorSeparator /> 
                        <telerik:EditorTool Name="Bold" /> 
                        <telerik:EditorTool Name="Italic" /> 
                        <telerik:EditorTool Name="Underline" /> 
                        <telerik:EditorTool Name="StrikeThrough" /> 
                        <telerik:EditorSeparator /> 
                        <telerik:EditorTool Name="FindAndReplace" /> 
                        ... 

What, if anything, am I missing?
Rumen
Telerik team
 answered on 23 Sep 2011
Narrow your results
Selected tags
Tags
+124 more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?