Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
87 views
I am trying ot add a signature line to the end of the grid when the user exports. So far I am unsuccessful. After reading through the online help I still cannot seem to get it working. Has anyone added extras to the .pdf export? if so can someone point me in the right direction. The code I am using is below.

Thanks

Protected Sub RadGridSearchresults_PdfExporting(ByVal source As Object, ByVal e As Telerik.Web.UI.GridPdfExportingArgs) Handles RadGridSearchresults.PdfExporting
      Dim myHTMLCode As String = "Signature ___________________________________"
      source.ExportOutput = source.ExportOutput.Replace("</body>", myHTMLCode + "</body>")
  End Sub
Dwayne Starkey
Top achievements
Rank 1
 answered on 23 Nov 2010
1 answer
58 views
Hello,

Please see attached image. When RadComboBox is set enabled false then there is there is weared look to it. What could be the reason to it ? How to make it usual.

Thanks,
Prayag
Yana
Telerik team
 answered on 23 Nov 2010
1 answer
78 views
Hi guys,

I've tried to use this workaround for Flash Manager:

http://www.telerik.com/support/kb/aspnet-ajax/editor/inserting-object-tags-via-the-media-manager.aspx

However, it doesn't work. When I trying to save changes, I get the following JS error:

"'paramString is undefined".

Does anybody know this problem (or have the solution)?
Rumen
Telerik team
 answered on 23 Nov 2010
4 answers
122 views
OK i have a grid with multirow edit. The issue I am running into is when i click to update 1 row and edit column 3, then click to edit row 5 the previous data is lost.

The only way around this is to click edit on ALL the row first that i desired to edit then perform my data entry.

Or place all rows in edit mode which makes the page take a LOT longer to load
Martin
Telerik team
 answered on 23 Nov 2010
1 answer
45 views
Hi,

Issue-1:
 table inside Div. both are restricted from drag/drop.
The user is still able to drag/drop beside table inside Div. (See attached explainaton Explain1.jpg)

Issue-2:
When I am using PDF Export feature i.e. ContentFilters="PdfExportFilter", it automatically changes my table widths to "0px" when I switch from Design mode to Html mode i.e.
    From <table width="100%">   to   <table width="100%" style="width:0px;">
and it also adds <Colgroup> <Cols /> tags...

How can I avoid this additional style?

Thanks,
Piyushkumar
Dobromir
Telerik team
 answered on 23 Nov 2010
1 answer
53 views
Hi Telerik,

I found a bug in the *Manager dialog. Adding a media element in the editor design mode, then you open the *Manager (FileManager, FlashManager, MediaManager and TemplateManager) dialog window, the media element you added will display over the *Manager dialog.

How to reproduce:

1. open the following link:
     http://demos.telerik.com/aspnet-ajax/editor/examples/xhtmlvalidatortrackchangesformatcodeblockdialogs/defaultcs.aspx
2. open MediaManager, choose PublicRelations -> RadNavigation.avi, insert it
3. open one of Managers ( FileManager, FlashManager, MediaManager or TemplateManager )

thanks in advance,

Lan


 
Rumen
Telerik team
 answered on 23 Nov 2010
5 answers
159 views

chart.DefaultView.ChartArea.AxisX.MajorGridLinesVisibility =

 

Visibility.Visible;

 


The above line draws the major grid lines.  Is there a way to show only every 4th major grid line?

Thanks,
--Jeff
Evgenia
Telerik team
 answered on 23 Nov 2010
1 answer
417 views
Hi All,

Can any one tell me how to apply the watermark in textbox at the runtime?



Bharat
Shinu
Top achievements
Rank 2
 answered on 23 Nov 2010
3 answers
112 views
Hi All,
I have a typical requirement... I want to disable drag drop on certain tags inside Editor.

Imagine I am in design mode (bcz I cannot draw it here) but corresponding Html will be like this:

<div id="Div1"> some Div1 content... DON'T Allow Drag Drop Here</div>
<div id="Div2"> some Div2 content... Allow Drag Drop Here</div>

In short, I want to disable certain perts of Editor. Is it possible?
If I can get client side event for Drag/Drop, it can be done (I think)

Thanks,
Piyushkumar
Dobromir
Telerik team
 answered on 23 Nov 2010
1 answer
133 views
In the following code, if I change Button to RadButton I'm getting all sorts of javascript exceptions from Telerik internal code.

private void CreateLinks(GridItemEventArgs e, SubsEntity type)
    {
        if (e.Item is GridDataItem && e.Item.ItemIndex != -1)
        {
            Button editLink = (Button)e.Item.FindControl("btnEdit");
            //editLink.PostBackUrl = "ManageSubscriptions.aspx?EditMode=true&Type=" + type + "&SubscriptionID=" + e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["SubscriptionID"];
            editLink.PostBackUrl = UIMgr.GetEditSubscriptionURL(this.DataSet, type, e.Item.ItemIndex);
            Button removeLink = (Button)e.Item.FindControl("btnRemove");
            removeLink.Attributes["href"] = "#";
            removeLink.Attributes["onclick"] = String.Format("return ShowConfirmForm('{0}','{1}');", e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["SubscriptionID"], e.Item.ItemIndex);
        }
    }
    #endregion
 
    protected void gridProductSubs_ItemCreated(object sender, GridItemEventArgs e)
    {
        CreateLinks(e, SubsEntity.ResearchProduct);
    }
<telerik:GridTemplateColumn UniqueName="Remove">
                    <ItemTemplate>
                        <asp:Button ID="btnRemove" runat="server" CausesValidation="False"
                            ToolTip="Remove" Text="Remove" />
                    </ItemTemplate>
                    <HeaderStyle Width="35px" />
                    </telerik:GridTemplateColumn>
                    <telerik:GridTemplateColumn UniqueName="Edit">
                    <ItemTemplate>
                        <asp:Button ID="btnEdit" runat="server" CausesValidation="False"
                            ToolTip="Edit" Text="Edit" />
                    </ItemTemplate>
                    <HeaderStyle Width="35px" />
                    </telerik:GridTemplateColumn>

Pero
Telerik team
 answered on 23 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?