Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
109 views
Dear  Mr,
I found strenge Issue I can not solve it
I put raddatepicker inside editform in Radgrid, as Popup
when I click to open popup calender , I found the page go to TOP  and I saw the address changed to
http://ashraf-pc2:50/Buildings/Unitmaintenance.aspx#
can you till me what is the proplem ?

Ashraf
Ashraf
Top achievements
Rank 1
 asked on 27 May 2012
0 answers
233 views
I have a trial version ASP.NET AJAX  befor and now i am used a full version but i had this error now :

Impossible de charger le fichier ou l'assembly 'Telerik.OpenAccess, Version=2011.3.1129.2, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342' ou une de ses dépendances. Le fichier spécifié est introuvable.

Description : Une exception non gérée s'est produite au moment de l'exécution de la requête Web actuelle. Contrôlez la trace de la pile pour plus d'informations sur l'erreur et son origine dans le code. 

Détails de l'exception: System.IO.FileNotFoundException: Impossible de charger le fichier ou l'assembly 'Telerik.OpenAccess, Version=2011.3.1129.2, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342' ou une de ses dépendances. Le fichier spécifié est introuvable.

Erreur source: 

Ligne 25 :          </telerik:RadStyleSheetManager>
Ligne 26 : 
Ligne 27 :          <telerik:RadScriptManager ID="RadScriptManager1" runat="server" 
Ligne 28 :              EnableViewState="False">
Ligne 29 :          </telerik:RadScriptManager>
 
So what should I do Please  ?
Berrabah
Top achievements
Rank 1
 asked on 27 May 2012
0 answers
81 views
Hi. I'm trying to decide the best way to implement a particular aspect of a site and would appreciate any veiws, comments or guidance.
The site is entirely data driven and part of that is that there are pages where each page has an id, title and some content. I've got other sections of the site (and also the master page) where I want to display the clickable name of pages (so the user sees the title and either with a url or command argument/value I can then get the user to the required page). That's really simple. My question arises because server performance is a key issue.

I could use a menu and, for example, have headings News, Products, Services, Help and each heading then contains multiple menuItems with each being the title and id of a relevant page. I could use a tool tip particularly where I can, for example, have an image representing a subject (such as News) and the tool tip then contains a repeater with simple hyperlinks or linkbuttons. I could have a user control that could display an image header (News) and then a set of links but this would take up screen realestate so it would be nice if the user control expanded on mouse over/hover or click (like a menu item expands to reveal a submenu).

I'm not completely sure how to achieve the last thing (getting my own control to expand in much the same way as a menu) but for everything else I know what to do and how to do it. What I don't know is how "light" the options are and which cause the most load on the server.

One further issue. I would have to populate the content dynamically from code behind - ie the frontend page is not a static predefined page but is constructed based on user input/preferences.... Thus "News" isn't a static list of news pages but a list created in server code.

Just to complicate matters further, there is the whole question whether to build some of the content on demand - ie its only if the user hovers over News that the list of news pages for that user is generated and displayed.

Thanks
Paul
Top achievements
Rank 1
 asked on 26 May 2012
7 answers
106 views
Hollow, Please help!

When click recurrence checkbox, recurrence Panel is not stable to display.  Please see attached screen. When move mouse around to Save button area, it display again. I even tried to use JQuery toggle function make it work, but it is still same problem. Please help.

Thanks!

Lili
Top achievements
Rank 1
 answered on 26 May 2012
1 answer
64 views
I have a RadGrid with a numeric column set to currency. On a button click I need to extract just the numeric value within this numeric column, without the "$" and ",". How would I go about doing this?
Jayesh Goyani
Top achievements
Rank 2
 answered on 26 May 2012
2 answers
78 views
Hi, I'm not sure if this is possible, but I'd like to provide a direct URL to a selected row in RadGrid so that users can access to the row by typing the URL in a browser.

Any pointers will be greatly appreciated.

ning
Ning
Top achievements
Rank 1
 answered on 26 May 2012
0 answers
72 views

I am getting javascript error when i try to do some operations on the https pages like button clicks. The error is below

 

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.2; BRI/2)
Timestamp: Sat, 26 May 2012 04:28:12 UTC

Message: Access is denied.

Line: 6930
Char: 9
Code: 0
URI: http://localhost:51516/ScriptResource.axd?d=h_o86yu-K-6nTNA3HhMgZoSImLI-VZzHJp_zcYCqJKeY5fNfe2-pvJdiEviO7YYwdftPGkhPoEWeYhxg3VguzhSFtolRzruKiiGyuHbjt9skWfwZ8jL6v7dbwa5lxsUjQnMK7v7NyOOJpTG1dEwC62FYhPByOFqtZ3DqnQeTNoGBkiy5MycdjDpVux7e

Shirish
Top achievements
Rank 1
 asked on 26 May 2012
0 answers
120 views
I have a TemplateColumn inside a Radgrid as follows. I populate the grid using NeedDataSource.
 
               <telerik:GridTemplateColumn UniqueName="name1" SortExpression="Id" HeaderText="Product#" DataField="Number" >
                        <ItemTemplate>
                                <asp:Literal runat="server" ID="ltId" Text='<%# Eval("Product.Id") %>'></asp:Literal>
                        </ItemTemplate>
                        <EditItemTemplate>                        
                            <telerik:RadTextBox runat="server" ID="txtProductNumber" Text='<%# Eval("Product.Id") %>'
                                Width="120px" OnTextChanged="ProductNumber_TextChanged" AutoPostBack="true" >
                            </telerik:RadTextBox>
                        </EditItemTemplate>
                    </telerik:GridTemplateColumn>

When  I enter text in the textbox and hit enter,  it is calling the default button on the page. How can I make it call the  "OnTextChanged" event for the textxbox Instead?

Thanks for the Help in advance!!
Sri
Sravanthi
Top achievements
Rank 1
 asked on 25 May 2012
1 answer
107 views
Hello,

I have one issue which is related to displaying pdf report in aspx page. In our company we couldn't use Adobe PDF Reader, that's why we can't use standard telerik ReportViewer. Instead of this I have to embed pdf object into aspx page and then from server side inject into this object generated report.

<object><embed width="100%" type="application/pdf" id="pdfObject" runat="Server"></embed></object>

My issue appears, when user clicks on border of opened radwindow. After that, radwindow is reopen second time and generated report is regenerated , too. Strange thing is, that this issue appears only on PC with Windows7 OS and IE 8 browser. On Win XP with IE8 or Windows 7 with IE 9 this issue didn't appear. 

So I need to prevent reopening radwindow by cancelling mouse click on border on radwindow. Please could somebody point me, how can I trap mouse event when user clicks on radwindow border ?

Here is my page code:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Report_skladove_polozky_z_objednavky.aspx.cs"
    Inherits="_Default" Async="false" %>
 
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register Assembly="Telerik.ReportViewer.WebForms" Namespace="Telerik.ReportViewer.WebForms"
    TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<head id="Head1" runat="server">
    <%--<link href="~/Scripts/CSS/EditFormStyles.css" rel="stylesheet" type="text/css" />--%>
    <title>Tlačová zostava</title>
    <style type="text/css">       
        #AllPanel
        {
            width:100%;
            height:100%;
            margin:0px;
            padding:0px;
            font-family: Arial, Helvetica;
            font-size: 14px;
        }
         
        #AllPanel a
        {
            color: black;
            text-decoration: none;
        }
    </style>
 
    <script language="JavaScript" type="text/javascript">
        function GetRadWindow() {
            var oWindow = null;
            if (window.radWindow)
                oWindow = window.radWindow;
            else if (window.frameElement.radWindow)
                oWindow = window.frameElement.radWindow;
            return oWindow;
        }
 
        function content_onkeydown(e) {      
            //alert("clicked in content page content");
            try {
                if (!e) e = window.event;
                if (e.keyCode == 27) {
           FocusOnRadWindow();
                   var oWindow = GetRadWindow();  //Obtaining a reference to the current window 
           oWindow.Close(); 
                }
            }
            catch (err) { }       
        }       
 
        function FocusOnRadWindow() {
            GetRadWindow().GetContentFrame().contentWindow.focus();           
        }
 
        function secondFn() {
            window.setTimeout(function () {
                var senderElementStyle = GetRadWindow().get_popupElement().style;
                //alert(senderElementStyle.width + "   " + senderElementStyle.height);
                document.getElementById("pdfObject").style.height = parseInt(senderElementStyle.height) - 63 + "px";              
            }, 0)
            window.setTimeout(function () {               
                GetRadWindow().GetContentFrame().contentWindow.focus();
            }, 1000)
        }
 
        document.onkeydown = content_onkeydown;
</script>
 
</head>
<body">
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager2" runat="server">
    </asp:ScriptManager>
    <telerik:RadSkinManager ID="RadSkinManager2" runat="server" ShowChooser="false" Skin="Hay">
    </telerik:RadSkinManager
 
   <object><embed width="100%" type="application/pdf" id="pdfObject" runat="Server"></embed></object>
  
    </form>
</body>
</html>


Thank you for your ideas.

Best regards

Vasssek 
Vasssek
Top achievements
Rank 1
 answered on 25 May 2012
1 answer
145 views
i have a radgrid bound to an entitydatasource. the data has two primary keys which i want to hide. unfortunately attempting to do so creates innumerable nasty side effects. is it possible to hide two columns without losing the ability to set and get values?

i tried first to hide the column but visible=false only hides the column for display. the column bursts forth in all its glory on the insert and update forms of the grid. i don't want users supplying key values.

i set display= false but that didn't hide the column

i set the column to readonly=true but then i could not set the key values. (the grid represents a child of a parent grid - so i am reading the key values of the selected parent row to propagate to the child row. subsequently the insert failed because it had no key values.

when i tried turning the column into a template, (insertedItem["ItemID"].Controls[0] as TextBox) failed to find the column.

is there no way to hide a column and still get and set its values? the real need is to set 2 primary key values (which are foreign keys) before the insert occurs. i thought i could do this in the insertcommand event but events are showing otherwise.

Richard
Top achievements
Rank 1
 answered on 25 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
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
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?