Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
144 views
Hello Sir,
Is there any option in RAD window to open encrypted URL.
Then no firewall detect which site i am opening. Like if gmail is blocked. So can i open in RAD Window.
i want to create like Proxy site.

If there is any option please help me.


Thanks
Chandan.
Chandan Kumar
Top achievements
Rank 1
 answered on 11 Aug 2010
1 answer
56 views

Dear All
Need a quick script to browse through panelbar from server side to change text of each element on the basis of certain pereferences..
Someting like below

public void LocalizeMeu(Menu MenuName)
 {
     MenuItemCollection mc;
     mc = MenuName.Items;
     foreach (MenuItem m in mc)
     {
        m.Text=getLocalValue(m.Text);
     }
 }

I also want to check if child elements are present to drilldown till the end.

Thanks
Yana
Telerik team
 answered on 11 Aug 2010
1 answer
69 views
Hi,

I'm using RadControls for ASP>NET AJAX Q2 2010 NET40. My page is working fine in IE but None of the controls are visible in Mozilla FireFox. Below are the controls i'm using in Master page.

<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
  
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
    <title></title>
    <script src="scripts/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="scripts/jquery.ribbon.js" type="text/javascript"></script>
    <script src="scripts/page.js" type="text/javascript"></script>   
    <asp:ContentPlaceHolder id="head" runat="server">
    </asp:ContentPlaceHolder>
</head>
<body>
   <form id="form1" runat="server">
      <div id="Image" style="position:absolute; top:0px">    
        <img alt="" src="images/XBS2I_IMG_03.jpg" width="116%" style="height: 75px" />
        </div>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <div style=" position:absolute;top:75px">
    <telerik:RadDockLayout ID="RadDockLayout1" runat="server" Skin="Windows7">
        <telerik:RadSplitter ID="RadSplitter1" runat="server" BorderSize="0" 
            BorderStyle="None" Height="100%" LiveResize="True" Skin="Windows7" 
            Width="340px">
            <telerik:RadPane ID="RadPane1" runat="server" BorderWidth="10px" 
                Font-Names="MENU" Scrolling="None" Width="320px">
                <telerik:RadSlidingZone ID="RadSlidingZone1" runat="server" BorderStyle="None" BorderWidth="0px" EnableEmbeddedBaseStylesheet="False" 
                    EnableEmbeddedSkins="False" EnableTheming="True" Font-Names="Onyx" Height="100%" SlideDuration="500" ToolTip="Menu" Width="20px">
                    <telerik:RadSlidingPane ID="RadSlidingPane1" runat="server" BackColor="#99CCFF" EnableEmbeddedBaseStylesheet="False" EnableEmbeddedSkins="False" EnableTheming="True" IconUrl="2i.JPG" Scrolling="Y" TabView="TextOnly" Title="Menu" UndockText="Undock Text" Width="300px">
                        <telerik:RadTreeView ID="RadTreeView1" runat="server" DataFieldID="CHILD_CODE" DataFieldParentID="PARENT_CODE" DataNavigateUrlField="FILE_NAME" DataTextField="SCREEN_NAME" Skin="Web20">
                        </telerik:RadTreeView>
                     </telerik:RadSlidingPane>
                </telerik:RadSlidingZone>
            </telerik:RadPane>
        </telerik:RadSplitter>
    </telerik:RadDockLayout>
    </div>
        <div style="position:absolute; top:100px; left:373px; width:533px; height:457px;">
        <asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">
        </asp:ContentPlaceHolder>
                <asp:ContentPlaceHolder id="ContentPlaceHolder2" runat="server">        
        </asp:ContentPlaceHolder>
        </div>               
    </form>
</body>
</html>

Please let me know how to rectify this problem.

Warm Regards,
Nisha
Georgi Tunev
Telerik team
 answered on 11 Aug 2010
1 answer
223 views
Hi there,
    i have a UI structure in the below manner:
    frmMain.aspx -> RadPanelBar(1) -> RadGrid (popup editmode using custom webControls) -> EditForm(uscWebControl.ascx) ->RadPanelBar(2) ->Grid.
   When i structure my entire control in such a manner, RadPanelBar(2) would render useless as it's no longer able to expand and collapse. however, if i where to remove the first RadPanelBar(1), the second RadPanelBar (display under the radgird editform user control) would the return to its normal function.
    Is there a reason why, RadPanelBar(2) is unable to expand under such circumstances? is there a solution without changing my entire structure (i.e.: still using RadGrid PopupEditMode)? 


Best Regards,
Adrian.

   

Peter
Telerik team
 answered on 11 Aug 2010
1 answer
35 views
Hi,

i'm getting "Object doesn't support this property" error after assigning LoadingPanelId property in ajaxsetting of radajaxmanager.

Please let me know the workaround.
 
Thanks in advance
Dimo
Telerik team
 answered on 11 Aug 2010
3 answers
90 views
Hi,

I have 2 RadDatePickers inside RadDock.

While I open one of the DatePickers and close it without selecting a date the other RadDatePicker will not open while clicked.
Once I clicked the other DatePicker and it didn't open, they are both will not open anymore.

Once a date is selected, everything works fine.

Elad

Here is the code:

       <telerik:raddock DefaultCommands=None EnableDrag=false runat="server" id="RadDock1" style="float:none" title="טווח הזמן" Width="200" dockmode="Docked" Height="270" EnableAnimation="true" Skin="Outlook">
       <ContentTemplate>
              <div style="padding:20px;" align=right dir=rtl> 
                  <asp:Label ID="welcome" runat=server />
                                        <br /><br />
                                        <asp:Label ID="Label3" runat=server Text="טווח הזמן:" /><br /><asp:Label runat=server height="5" Text="" />
                                        <asp:Label ID="Label1" runat=server Text="מתאריך:" /><br />
                                        <telerik:RadDatePicker PopupDirection=BottomLeft AutoPostBack=true OnSelectedDateChanged=ChangePeriod ID="RadDatePicker1" runat="server" >
                                        </telerik:RadDatePicker>
                                        <br /><br />
                                        <asp:Label ID="Label2" runat=server Text="עד תאריך:" /><br />
                                        <telerik:RadDatePicker PopupDirection=BottomLeft AutoPostBack=true OnSelectedDateChanged=ChangePeriod ID="RadDatePicker2" runat="server" >
                                        </telerik:RadDatePicker>
                                        <br /><br />                
                     <asp:Button ID="SaveButt" Visible="false" Width="80" BorderStyle="Outset" BorderWidth="3" BackColor="#003366" runat="server" CausesValidation="True" OnClick="SaveReportButtHand" Text="שמור תוצאות">
                    </asp:Button>
                    <asp:Button ID="UpdateButt" Visible="false" runat="server" Width="85" BorderStyle="Outset" BorderWidth="3" BackColor="#003366" CausesValidation="True" OnClick="UpdateReportButtHand" Text="עדכן תוצאות">
                    </asp:Button>
                            </div>
</ContentTemplate>
   </telerik:raddock>
Dimo
Telerik team
 answered on 11 Aug 2010
3 answers
291 views
I want display binaryimage in radlistview with xml datasouce.
Each listview item height is 300px.
If Image data's height is greater than width (portrait ) then I want image height set to 300px.
If Image data's width is greater than height (landscape) then I want image width set to 300px.
so I want every image set to 300 x 300 square box.

I set to binaryimage set to width = 300px, height = 300px then all Image set by 300 by 300 size with distortion ratio!
I want portrait, landscape image to display square box without distort it's raito.

So I coded below but It does'nt work.

    protected void RadListView1_ItemDataBound(object sender, RadListViewItemEventArgs e)
    {
 

            RadListViewDataItem li = (RadListViewDataItem)e.Item;
            RadBinaryImage PhotoImage = (RadBinaryImage)e.Item.FindControl("RadBinaryImage1");
            if (PhotoImage.Width.Value > PhotoImage.Height.Value)
            {
                PhotoImage.Width = 300;
            }
            else
            {
                PhotoImage.Height = 300;
            }
                

    }


Cori
Top achievements
Rank 2
 answered on 11 Aug 2010
2 answers
156 views
I've got a grid that uses EditFormSettings with a UserControl.  In the UserControl, I have two asp:dropdownlists.  When an item in the first dropdown is selected, I'm attempting to call a web service through JavaScript within the UserControl to return the items for the second dropdown.  This is not working and what I've noticed when I view the source of my page, the JavaScript code is not present.  Can someone provide an example of how to do this?

Thanks!
bdk0172
Top achievements
Rank 1
 answered on 11 Aug 2010
2 answers
117 views


I am able to create the iCalendar export without problem when the user clicks the "export" button, but we have a requirement from the client to send an email (with .ics attachment) when an appointment is created.  Open to any ideas.

thanks!
Peter
Telerik team
 answered on 11 Aug 2010
1 answer
97 views
Hello:

In our web application we use Telerik Ajax conrols version 2009.1.402.35
We caught following exception via Global.asax:


Offending URL: http://OurApplicationName.com/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions,+Version=3.5.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en-US:0d787d5c-3903-4814-ad72-296cea810318:ea597d4b:b25378d2;Telerik.Web.UI,+Version=2009.1.402.35,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:en-US:e2aefbad-6eca-4fec-a07c-998a5a2d33c0:16e4e7cd:f7645509:24ee1ass=

Message: Assembly "Telerik.Web.UI, Version=2009.1.402.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" does not contain a script with hash code "24ee1ass=".

Source: Telerik.Web.UI

Stack Trace:    at Telerik.Web.UI.ScriptEntry.Deserialize(String serializedScriptEntries)

   at Telerik.Web.UI.CombinedScriptWriter.WriteCombinedScriptFile()

   at Telerik.Web.UI.WebResource.ProcessRequest(HttpContext context)

   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Any ideas what is causing this error and how to fix this?

Thank You
Valera

Maria Ilieva
Telerik team
 answered on 11 Aug 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?