Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
83 views
We are using Rad Upload Control to send the mail with attachment through SMTP server. The Code working fine if the we run in the local machine. If we deploy the code in the server and access the link from remote machine, the attachment path is set as "C:\Windows\system32\<filename>"  even u select the file from any location. Please let us know how to resolve this
Veselin Vasilev
Telerik team
 answered on 26 Oct 2009
1 answer
144 views
Greetings!

We were getting a blank page (nothing except headers and footers) when printing the contents of a RadWindow (for ASP.Net Ajax) using a Custom Button (according to the KB article: "Adding a Custom Button to RadWindow Titlebar") in IE 8.  Adding the following meta tag to the page referenced by the RadWindow solved the problem:

 

<meta http-equiv="X-UA-Compatible" content="IE=7" /> 

 

 

 

Insert the tag after the DOCTYPE declaration and just before the HTML Head section.

The tag forces IE 8 to render the page in IE 7 compatibility mode.  We didn't experience this phenomenon when using other browsers.  Not sure exactly what caused IE 8 to print a blank first page.  So, please post a reply if you've experienced this and found an alternative solution.

Hope this saves you time!

Mark Masson
Director of Technology
Lucid Data Corporation
Georgi Tunev
Telerik team
 answered on 26 Oct 2009
1 answer
154 views
hi

I have a grid that display images using image button: I want to be able to retrieve the ID and a response.redirect when click. This is my code:
<ItemTemplate> 
                <asp:ImageButton ID="ImageButton1" runat="server"   
                    ImageUrl="~/image/first.png" /> 
                <br />&nbsp;&nbsp;&nbsp;  
                <asp:Label ID="BranchLabel" Width="150px" runat="server"   
                    Text='<%# Eval("Branch") %>' /> 
                <br /> 
                <br /> 
            </ItemTemplate> 

My Code Behind:

 

 

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load  
Dim imagebutton As ImageButton = TryCast(Page.Master.FindControl("RadGrid1"), ImageButton)  
End Sub  
 

Thanks

 

Daniel
Telerik team
 answered on 26 Oct 2009
1 answer
189 views
Hi Support.

Before you directly jump to find the solution, please understand the issue first and also know that I've already spent some time trying to fix it myself.

Here is the problem.

I've a simple RadGrid placed on the form that loads around 3000 rows, with no virtual scroll, no grouping, no hi-fi setting.. Simple RadGrid.
Now, as soon as I place a CheckBox column, or a ClientSelectColumn or a TemplateColumn with a CheckBox, I see unnecessary Vertical ScrollBar showing up on my PAGE NOT the RADGRID.

Below is the html to to generate the radgrid. Note that the RadGrid is placed inside the RadAjaxPanel with Rad

<

 

telerik:RadGrid ID="RadGrid1" runat="server" SkinID="ShowAllRecords_AutoGeneratedFalse"

 

 

 

AllowFilteringByColumn="True" AllowSorting="True" GridLines="None"

 

 

 

onneeddatasource="rgvwMaterialHierarchy_NeedDataSource">

 

 

 

<MasterTableView TableLayout="Fixed" CommandItemDisplay="Top" >

 

 

 

<Columns>

 

 

 

<telerik:GridCheckBoxColumn /> ------>This line here... if I remove this line everything is PERFECT. But I need a checkbox column.

 

 

 

<telerik:GridTemplateColumn DataField="MaterialHierarchyCode" SortExpression="MaterialHierarchyCode" HeaderStyle-HorizontalAlign ="center" HeaderStyle-VerticalAlign ="middle" HeaderText ="Hierarchy Code" UniqueName ="MaterialHierarchyCode" HeaderStyle-Width="15%" ItemStyle-Width="15%" FilterControlWidth="80%" AutoPostBackOnFilter="true">

 

 

 

<ItemTemplate >

 

 

 

<asp:Label ID="lblMaterialHierarchyCode" runat="server" Text='<%# Bind("MaterialHierarchyCode")%>' ToolTip='<%# Bind("MaterialHierarchyCode")%>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

<HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

<telerik:GridTemplateColumn DataField="MaterialHierarchyDescription" SortExpression="MaterialHierarchyDescription" HeaderStyle-HorizontalAlign ="center" HeaderStyle-VerticalAlign ="middle" HeaderText ="Hierarchy Name" UniqueName ="MaterialHierarchyDescription" HeaderStyle-Width="54%" ItemStyle-Width="54%" FilterControlWidth="80%" AutoPostBackOnFilter="true">

 

 

 

<ItemTemplate >

 

 

 

<asp:Label ID="lblMaterialHierarchyDescription" runat="server" Text='<%# Bind("MaterialHierarchyDescription")%>' ToolTip='<%# Bind("MaterialHierarchyDescription")%>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

<EditItemTemplate>

 

 

 

<telerik:RadTextBox ID="txtMaterialHierarchyDescription" runat="server" Text='<%# Bind("MaterialHierarchyDescription")%>' MaxLength="1000" Width="90%" AutoCompleteType="Disabled"></telerik:RadTextBox>

 

 

 

<asp:RequiredFieldValidator ID="rvftxtMaterialHierarchyDescription" runat="server" ControlToValidate="txtMaterialHierarchyDescription" ErrorMessage="Hierarchy Name cannot be blank" Display="Dynamic"></asp:RequiredFieldValidator>

 

 

 

</EditItemTemplate>

 

 

 

<HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

<telerik:GridTemplateColumn UniqueName="Detail" HeaderText="Details" AllowFiltering="false" HeaderStyle-HorizontalAlign ="center" HeaderStyle-VerticalAlign ="middle" HeaderStyle-Width="10%" ItemStyle-Width="10%" >

 

 

 

<ItemTemplate>

 

 

 

</ItemTemplate>

 

 

 

<HeaderStyle></HeaderStyle>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

<telerik:GridTemplateColumn UniqueName="Properties" HeaderText="Properties" AllowFiltering="false" HeaderStyle-HorizontalAlign ="center" HeaderStyle-VerticalAlign ="middle" HeaderStyle-Width="12%" ItemStyle-Width="12%" >

 

 

 

<ItemTemplate>

 

 

 

</ItemTemplate>

 

 

 

<HeaderStyle Width="80px"></HeaderStyle>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

<telerik:GridEditCommandColumn UniqueName="Edit" HeaderText="Edit" ButtonType="ImageButton"

 

 

 

CancelText="Cancel" UpdateText="Update" InsertText="Add New Hierarchy" HeaderStyle-Width="6%" ItemStyle-Width="6%" CancelImageUrl="~/Images/cancel.png" UpdateImageUrl="~/Images/Save.png"

 

 

 

InsertImageUrl="~/Images/Save.png" EditImageUrl="../Images/pencil.png">

 

 

 

</telerik:GridEditCommandColumn>

 

 

 

 

</Columns>

 

 

 

</MasterTableView>

 

 

 

<ClientSettings>

 

 

 

<Scrolling AllowScroll="True" ScrollHeight="600" UseStaticHeaders="True" />

 

 

 

</ClientSettings>

 

 

 

</telerik:RadGrid>

 

 

Pavlina
Telerik team
 answered on 26 Oct 2009
2 answers
113 views
Hello,


Why using expressions like

<CommandItemSettings

 

RefreshText="<%$ Resources:ADNCRM,ORDER_VIEW_REFRESH %>"

 

 

ShowExportToExcelButton='<%# (ShouldExport2XL) %>' />

is not possible in VS2008 for Radgrid (Error message in design mode)
I know we could do it in code behind but the price is writing lot of code.


Thanks
CS

CSurieux
Top achievements
Rank 2
 answered on 26 Oct 2009
1 answer
34 views
Pavlina
Telerik team
 answered on 26 Oct 2009
4 answers
208 views
A client gets the following error in a pop-up window when she tries to edit a page where the RADEditor has some links to documents with icons for the links visible:
"Error while executing filter XHTML - [object Error]"

If the links don't have the file icons visible no errors are generated.
Browser is ie6.
RADEditor version is 5.2.0

Any suggestions to why this error is displayed?

BR, Marcus



Stanimir
Telerik team
 answered on 26 Oct 2009
5 answers
98 views
On a windows 2008 server, MOSS SP2.  Moved site to new server, clean install.  Used backup with STSADM command.  Used these steps on new server:

OS
MOSS
added SP2
ajax enable
create site
restore with stsadm
add moss rad edit 5.5.1 solution

then on the pages that had previously contained the same version of the webpart 5.5.1, I get an error.  Look at the webpart folder and it is not even in the folder.  Other webparts are ok, but no Rad Editor

HELP ME PLEASE
Stanimir
Telerik team
 answered on 26 Oct 2009
1 answer
74 views
Hi,

I wonder is there any property in editor that when someone clicks on a image, it shows the full sized image in a lightbox? Is that possible?

Abdullah
Rumen
Telerik team
 answered on 26 Oct 2009
2 answers
86 views
Hi I have a RadCalendar and I want to fire a tooltip with the onDateClick Event of RadCalendar.
The problem is that when I click on a date of RadCalendar the tootip is being shown only for 2 seconds.
Any ideas ??
Here is my code

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">

    <script type="text/javascript">
        
        function Calendar_OnDateClick(element) {
            var tooltip = $find("<%=RadToolTip1.ClientID%>");
            tooltip.show();
        }
    </script>
    </telerik:RadCodeBlock>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
  
    <telerik:RadCalendar ID="RadCalendar1" runat="server"
        Skin="Web20" AutoPostBack="true">
        <ClientEvents OnDateClick="Calendar_OnDateClick" />
    </telerik:RadCalendar>

    <telerik:RadToolTip ID="RadToolTip1" runat="server" Font-Bold="true" Font-Size="Medium"
        ShowEvent="FromCode" ForeColor="DarkGreen" Height="100px" AutoTooltipify="false">
    </telerik:RadToolTip>
    </form>
</body>
</html>
Nikolas G
Top achievements
Rank 1
 answered on 26 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
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
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?