Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
139 views
Hi, i've a problem with RadPdfprocessing.
There isn't a Group Post in Forum and the documentation is very very small.

My problem is on the step 0.
PdfFormatProvider provider = new PdfFormatProvider();
RadFixedDocument document = new RadFixedDocument();
                  
using (Stream input = File.OpenRead(@"C:\Test.pdf"))
{
document = provider.Import(input);
}

Test.pdf ha 1 pages but document.Pages.Count = 0

:-(


Tanya
Telerik team
 answered on 09 Mar 2015
1 answer
77 views
Is there any way for the uploader to start from where a user lost connection?  Such as, if a client tired to upload a 1 GB file and got to 78% percent and then lost connection to their internet. Then gain connection back could they start from where it cut off without having to re-upload the file?
Hristo Valyavicharski
Telerik team
 answered on 09 Mar 2015
0 answers
56 views
Hi Team,
Here is my requirement, I need to show Italic and normal text in a RadTExt box. 

Example:  This is <i> prasad </i>. here prasad should display in Italic.

Please help me.

Regards,
ranga prasad.
Prasad
Top achievements
Rank 1
 asked on 09 Mar 2015
1 answer
105 views
I have a RadGrid that is populated by a SqlDataSource object.  I populate the ListItems of a ComboBox and Multi-Select ComboBox control inside the RadGrid's NestedViewTemplate using two other SqlDataSource objects.  The SelectedValue of the single select ComboBox is easy to set.  What is the most efficient means of setting the SelectedValue of the appropriate ListItems in the Multi-Select ComboBox?

Nencho
Telerik team
 answered on 09 Mar 2015
1 answer
263 views
Want telerik:RadGrid batch edit changes on server side without
postback.My  batch grid save button outside from grid ,bellow syntax used to call batchedit save event. 

<telerik:RadButton runat="server" ID="RadButton1" Text="SaveAllChanges" AutoPostBack="false" OnClientClicked="SaveAllChanges"></telerik:RadButton>

        function SaveAllChanges(sender, args) {

            var batchManager = $find('<%=RadGrid1.ClientID%>').get_batchEditingManager();

            var tableViews = [];

            tableViews.push($find('<%=RadGrid1.ClientID%>').get_masterTableView()); 
batchManager.saveTableChanges(tableViews);                
}

There is one problem method SaveAllChanges() perform a postback then call server event RadGrid1_BatchEditCommand. But I want a process
without postback my button call an event which communicate with server and provide me all batch grid changes.Please don’t referrer any update panel
process http://www.telerik.com/forums/prevent-postback-after-edit-delete-in-grid.I need to work with grid data in server side.So need to get all data from the grid.If have any question please ask,Thank in advanced.Any type of suggestion will be acceptable
Angel Petrov
Telerik team
 answered on 09 Mar 2015
1 answer
242 views
 used telerik:RadGrid batch editing; to fill this grid I used below syntax:

function GridBind(GridID, GridData) {
var TableView = GridID.get_masterTableView();
TableView.set_dataSource(GridData); TableView.dataBind();
}

To Invoke batcheditcommand I used below syntax. It’s written under non-postback button Javascript event:

function SaveAllChanges(sender,args) {
var batchManager = $find('<%=RadGrid1.ClientID%>').get_batchEditingManager();
var tableViews = [];
tableViews.push($find('<%=RadGrid1.ClientID%>').get_masterTableView());
batchManager.saveTableChanges(tableViews);
}

But unfortunately SaveAllChanges perform a postback and invoke  RadGrid1_BatchEditCommand,my requirement is with out post back ,i want grid batch all change on server side.Any type of suggestion will be acceptable.
Angel Petrov
Telerik team
 answered on 09 Mar 2015
3 answers
287 views
Hi All,
I'm using radgrid, but when using PagerStyle-Mode="NextPrevNumericAndAdvanced" it does not work,Here is the code :
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
        <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="AdvancedRadGridResults">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="AdvancedRadGridResults" />
                    <telerik:AjaxUpdatedControl ControlID="iframeBarcode"/>
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
 <telerikHelper:AdvancedRadGrid ID="AdvancedRadGridResults" runat="server" SkinID="AdvancedRadGridArDefault" CellSpacing="0" GridLines="None" AutoGenerateColumns="False" ShowGroupPanel="True"
                    OnNeedDataSource="AdvancedRadGridResults_NeedDataSource" OnItemCommand="AdvancedRadGridResults_ItemCommand" OnInsertCommand="AdvancedRadGridResults_InsertCommand"
                    OnItemDataBound="AdvancedRadGridResults_ItemDataBound" OnUpdateCommand="AdvancedRadGridResults_UpdateCommand" OnDeleteCommand="AdvancedRadGridResults_DeleteCommand"
                    OnItemCreated="AdvancedRadGridResults_ItemCreated"  >

                    <ClientSettings>
                        <Scrolling AllowScroll="True" UseStaticHeaders="True" ScrollHeight="400px" />
                    </ClientSettings>

                    <MasterTableView DataKeyNames="File_ID" AllowPaging="True" PagerStyle-AlwaysVisible="true"  PagerStyle-     Mode="NextPrevNumericAndAdvanced" >
                        
                        <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>

                        <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column"></RowIndicatorColumn>

                        <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column"></ExpandCollapseColumn>
     
                    </MasterTableView>
                </telerikHelper:AdvancedRadGrid>

            <iframe id="iframeBarcode" runat="server" src =""  style="display:none;"></iframe>
</asp:Content>
How to fix this problem,
Thanks .






Awad
Top achievements
Rank 1
 answered on 09 Mar 2015
3 answers
54 views
Folks, thanks for taking the time to read this.
I have just started with Telerik controls and have found myself in a quandary.

I have an ajax manager on my page, an AysnUpload and a datarepeater, populated on the server side. I upload a file to the server after more info has been requested from the user, via ajaxManager.ajaxRequest(), THEN, when the file is uploaded...this works by the way...I want to refresh the datarepeater.

I have the following in my aspx file:
                            
<telerik:RadAjaxManager ID="ajaxManager" runat="server" EnablePageHeadUpdate="False">
   <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="documentUploader">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="grdDocuments" />
                  </UpdatedControls>
          </telerik:AjaxSetting>
       </AjaxSettings>
 </telerik:RadAjaxManager>

Now my confusion...what "ajax event" will be fired on "grdDocuments"? Meaning, what event do I hook up on the grid server side to refresh the data repeater via the AjaxUpdatedControl setting? Or am I misunderstanding the setting itself?

I am at a loss to understanding the AjaxUpdatedControl setting. In my server-side handling of the file uploaded via ajax I do rebind the grid and it fires, it just does not refresh on the page...unless I reload of course.

Please don't hesitate to ask for any further info.
Thanks in advance

Simon
Top achievements
Rank 1
 answered on 09 Mar 2015
1 answer
214 views


I used telerik UI 2015, I try input hierarcy in rad grid with datepicker in edit from. up select date, but if I action radgrid (click add new record) that raddatepicker running proper.

Problem when first open that page as always postback when I clicked date picker
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
                <UpdatedControls>
                     <telerik:AjaxUpdatedControl ControlID="gvList" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="containerDiv">
                <UpdatedControls>
                   <%--<telerik:AjaxUpdatedControl ControlID="rdpRaiseDateHeader" />
                   <telerik:AjaxUpdatedControl ControlID="rdpEndDateHeader" />--%>
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="gvList">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="gvList"></telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
            <%--<telerik:AjaxSetting AjaxControlID="containerDiv">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="rdpRaiseDate"></telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>--%>
            <%--<telerik:AjaxSetting AjaxControlID="rdpRaiseDate">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="rdpRaiseDate" />
                </UpdatedControls>
            </telerik:AjaxSetting>--%>
           <telerik:AjaxSetting AjaxControlID="rdpRaiseDate">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="rdpRaiseDate"></telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="rdpEndDate">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="rdpEndDate"></telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
.

Please informed about fix that issue, I try fixed issue but not resolved.

Capture issue is attached.





Maria Ilieva
Telerik team
 answered on 09 Mar 2015
1 answer
480 views
Hey everyone,

I have a RadListBox with a few RadListBoxItems inside it. They have varying text where some are pretty small while others can be large. I would rather set the width of the RadListBox to the width of the largest length text while also setting a defined static height.

I have set the width with CSS like so:
.RadListBox_Default
    {
        width:auto !important;
    }

That part works great on its own. But if I add a static height to either the CSS to make it look like:
.RadListBox_Default
    {
        width:auto !important;
        height:300px;
    }
or straight to the ascx, the RadListBox messes up. The width becomes 2 pixels and the RadListBox becomes unusable.

I was wondering if there was a way to get the width to be dynamic while having the height be static. Any help/thoughts are appreciated, thanks!


.RadListBox_Default
    {
        width:auto !important;
    }

.RadListBox_Default
    {
        width:auto !important;
    }

.RadListBox_Default
    {
        width:auto !important;
    }

Magdalena
Telerik team
 answered on 09 Mar 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?