Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
719 views

 

Is there a way to disable validation when the previous button or a navbar button < current step is clicked?

Ivan Danchev
Telerik team
 answered on 10 Nov 2016
1 answer
267 views

I've read through many of the posts here but none seem to directly apply to my issue.  I have a telerik AJAX based shipping application that is generating a Bill of Lading.  The bill of lading is a legal document that need to look exactly like what the user sees on the page.  I'm generating that to a web page, but of course printing a web page generates all sorts of "noise" to the document - additional page numbers... web page source name, etc.

 

I would like to export the web page to a PDF and then have that print - all in one step.  The issue that I'm seeing is that ClientExportManager generates the PDF which shows up as a downloaded document.  The user has to open that doc, then click print, then gets to the print dialog.  That is a major pain.

 

Is there a way to generate the PDF directly to a web page - so it is displayed in a RadWindow (for instance) with a print button exposed at that point?  My users a balking at the multiple step process above but I can't find a way around it.  Basically I just need to print a web page without all the extra junk that the browsers add - so if there is a way that you know to do that instead - that would work too.

 

Thanks in advance!

Cory

Ivan Danchev
Telerik team
 answered on 10 Nov 2016
8 answers
3.2K+ views
How can i write the function in RadGrid Column button... ?

Thanks & Regards
  Suren
Viktor Tachev
Telerik team
 answered on 10 Nov 2016
1 answer
212 views

Hi,

I coundn't find an information about it, and I'm new in programming, so I thought that maybe someone here could help me.

Is there a possibility of firing an event on clicking OK? I would like to redirect to one page upon clicking on OK and to second page upon clicking on Cancel. It is really necessary for me to do so, could you please help me?

 

Regards,

Ola

Marin Bratanov
Telerik team
 answered on 10 Nov 2016
5 answers
495 views
Hi there, 

       I have a Byte [ ] of word document containing Text, Images and Tables.
       I want to generate and store PDF file into the database table.
       I am able to generate the PDF file using below code but Image is not exporting to PDF.
       Text and Tables exported successfully.

        public void ByteArrayToPdf()
        {
            Byte[] Document = null;
            RadDocument document = new RadDocument();
            PdfFormatProvider pdfFormatProvider = new PdfFormatProvider();
            RtfFormatProvider providerRtf = new RtfFormatProvider();

            string path = Path.GetTempPath() + "\\TempFile.doc";
            
            Document = File.ReadAllBytes(path);

            using (FileStream stream = File.Open(path, FileMode.Open))
            {
                document = providerRtf.Import(stream);
            }

            Document = pdfFormatProvider.Export(document);


            if (Document != null && Document.Length > 0)
            {
                    SaveDocumentToDB(Document);
            }
}
 

Please help.


Thanks
Anup Indurkar
Daniel
Telerik team
 answered on 10 Nov 2016
1 answer
70 views

I have a simple page with an Ajax timer, that updates some controls (A pannel and two link buttons).  When the timer fires, the controls that it should be updating momentarily disappear from the page and then come back, and there is no loading pannel or anything.  Se code below.  What am I missing?

 

Timer:

<asp:Timer ID="ajtTimer" runat="server" Interval="15000" OnTick="ajtTimer_Tick"></asp:Timer>

 

Ajax Settings for Timer:

<telerik:AjaxSetting AjaxControlID="ajtTimer">
    <UpdatedControls>
        <telerik:AjaxUpdatedControl ControlID="pnlActions" LoadingPanelID="lpActions" />
        <telerik:AjaxUpdatedControl ControlID="lbSaveAndGenerateTop" LoadingPanelID="lpActions" />
        <telerik:AjaxUpdatedControl ControlID="lbSaveAndGenerate" LoadingPanelID="lpActions" />
    </UpdatedControls>
</telerik:AjaxSetting>

 

Loading Pannel:

<telerik:RadAjaxLoadingPanel runat="server" ID="lpActions"></telerik:RadAjaxLoadingPanel>

 

 

Thanks,

Mirek

Eyup
Telerik team
 answered on 10 Nov 2016
12 answers
337 views
Hi,

I need to add a checkbox for each timeslot row in day view of the Scheduler, is there such flexibility for Scheduler control?
Ref: Like how the data grid allows us to include different control in item template, same way is there any option in Scheduler control.

Thanks,
Navya
Veselin Tsvetanov
Telerik team
 answered on 10 Nov 2016
1 answer
312 views

Hello

I have a grid, which I want to get the cell data (Data Bounded) of different column and same row when I click a RadComboBox  (Item template). and use it in ItemRequested server side event.

I don't know how to access the data bounded cell when clicking the combo box in client side.

I appreciate your help.

Eyup
Telerik team
 answered on 10 Nov 2016
1 answer
515 views

I use Skin Bootstrap and RenderMode Lightweight

Bootstrap use AlternatingItemStyle gray. I dont want to use that, i want have White for all items

I try set <AlternatingItemStyle BackColor="#ffffff" /> Not works....

<ItemStyle BackColor="#ffffff" /> works fine....

BackColor="#ffffff" Not works....

 

How to use White for all items in grid?

 

 

Eyup
Telerik team
 answered on 10 Nov 2016
0 answers
73 views

Hi Team

 

I need to hide the Checkbox that are present in Parent Node in MVC program.

 

Kindly help.

 

 

Regards

Sri balaji S

 

Sri
Top achievements
Rank 1
 asked on 10 Nov 2016
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?