Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
223 views
I am absulutly despaired. I build a very nice page with your controls.
at the end of the project I have to create a pdf file with all the results from the input of this page.
So i place a ImageButton on the page. This button should not be shown at every situation. So i make it visible or not and put it to the RadAjaxManger. With a third party tool from expertPDF (www.html-to-pdf.net) I want to create my pdf after clicking on the image button.
And than I get the same problem described in this posting:
http://www.codeproject.com/Messages/2617925/ASP-Net-AJAX-Response-Write-and-PDF.aspx

I search for this problem for many hours and I am getting so unhappy now, because I want to filalize my project... please help me ...
thomas
Thomas Gross
Top achievements
Rank 1
 answered on 17 Feb 2011
2 answers
240 views
Hello everyone, I'm wondering if it is possible to use the telerik controls and Ajax to create a web application in which the user navigates using the telerik RadMenu but the page never refreshes. For example, I have a two-column page layout with a header. In the left column of the page I have a RadMenu with several navigation options. When a user clicks one of the navigation options I would like that page to load in the right column of the page without refreshing the entire page. Any help or ideas would be most appreciated

Thanks!

Jason
srivathsan
Top achievements
Rank 1
 answered on 17 Feb 2011
1 answer
86 views
Hi there,
is it possible to skip more than one control in code behind? I just found a way to skip one at a time:
this.masterFormDecorator.ControlsToSkip = FormDecoratorDecoratedControls.Fieldset;
 Thanks for your help.
Georgi Tunev
Telerik team
 answered on 17 Feb 2011
1 answer
101 views
Can anyone please give me a simple example for a Multi-column ComboBox (the top one mentioned here http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/multicolumncombo/defaultcs.aspx) that reads the data from a WebService at run-time using the following tag inside the ComboBox:

<WebServiceSettings Method="GetHeadings" Path="~/WebService/ListingHeadings.asmx" />

A sample code project would be really helpful.

Regards,
Paras Wadehra

Yana
Telerik team
 answered on 17 Feb 2011
3 answers
62 views
hello telerik,
When I used the embedded JQuery to get the height or width of a element , it always less than the actual value 6px;

for example ,there is a control :  <input id='a' style='height:30px' value='test'>
when I use the method $("#a").css("height") , it returns a incorrect value: 24px ;  But when I use the earlier version of jquery.js , it would give me a correct value 30px;
Veli
Telerik team
 answered on 17 Feb 2011
1 answer
127 views
hi telerik team,
I have an issue with radcombobox.I have a radcombobox in a very large form .
when i do some selection in the radcombobox the screen scroll down to the top of form instead where i did selection on that particular radcombobox.This radcombobox are using ajax to avoid postback.. i have already used  scrollIntoView() with the hidden field concept,its maintaing the scroll position but
the page first goes to top and then return to its selected position after performing the required tasks for its selected index changed  .i m using IE .
Can you please tell the solution for this problem.
Helen
Telerik team
 answered on 17 Feb 2011
2 answers
115 views
Hi friends,
                   Can any one help me how to make my Radtabstrip Skin looks  like Office2007 Skin.Because for remaining skins there is no background image is available and this makes my child tabs look so weird..How to make all skins of Radtabstrip looks like Office2007 Skin so that user can avoid confusion over whether is parenttab or child tab..I have just applied a background color and also background image for Rabtabstrip..but i didn't works..I want all the Telerik Skin for RadTab looks the same..Can any one????

Thanks And Regards,
  Titti.S
TSM
Top achievements
Rank 1
 answered on 17 Feb 2011
2 answers
463 views
I'm using a RadButton inside a RadListView with ItemTemplate.  The button is supposed to cause a post-back (handled by the ItemCommand of the RadListView) if a value in a RadTextBox is present, otherwise just display the RequiredFieldValidator/ValidationSummary info.

I've got it working to the point where it will validate the field (it pops the RequiredFieldValidator message as per the instructions in the ValidationSummary control), however regardless of whether or not the validator fires, it still does the postback and fires the ItemCommand handler.

html:
<telerik:RadListView ID="lstCommissions" runat="server"
    DataKeyNames="EmployeeCommissionBankID"
    ItemPlaceholderID="plhCommissions"
    OnItemCommand="lstCommissions_ItemCommand"
    OnItemDataBound="lstCommissions_ItemDataBound"
    OnNeedDataSource="lstCommissions_NeedDataSource"
>
    <LayoutTemplate>
  
<div class="CommissionControlContainer">
    <div class="LoanNumberTitle">Loan Number</div>
    <div class="CommissionTotalTitle">Commission</div>
    <div class="SpreadTitle">Commission Spread</div>
    <asp:PlaceHolder ID="plhCommissions" runat="server" />
</div>
  
    </LayoutTemplate>
  
    <ItemTemplate>
  
    <div class="RowContainer">
        <div class="LoanNumber"><asp:Label ID="lblLoanNumber" runat="server" /></div>
        <div class="CommissionTotal"><asp:Label ID="lblCommissionTotal" runat="server" /></div>
        <div class="SpreadButton">
            <telerik:RadButton ID="btnSplit" runat="server"
                AutoPostBack="true"
                ButtonType="ToggleButton"
                CausesValidation="true"
                CommandName="Split"
                CommandArgument='<% Bind("LoanNumber"); %>'
                Style="padding-left: 25px;"
                ToggleType="CheckBox"
            >
                <ToggleStates>
                    <telerik:RadButtonToggleState PrimaryIconCssClass="rbRemove" Text="Remove Spread" />
                    <telerik:RadButtonToggleState PrimaryIconCssClass="rbOk" Text="Spread" />
                </ToggleStates>
            </telerik:RadButton>
        </div>
        <div class="SpreadValue">
            <telerik:RadNumericTextBox ID="txtSpreadAmount" runat="server"
                AutoPostBack="true"
            />
            <asp:RequiredFieldValidator ID="rfvSpreadAmount" runat="server" 
                ControlToValidate="txtSpreadAmount"
                ErrorMessage="Spread amount is required"
                Text="*"
            />
            <asp:ValidationSummary ID="vsSpreadAmount" runat="server"
                DisplayMode="BulletList" 
                ShowMessageBox="true" 
                ShowSummary="false"
                Visible="true"
            />
        </div>
          
    </div>
  
    </ItemTemplate>
  
</telerik:RadListView>

Just to verify to you that I'm setting the ValidationGroup for all controls involved (it is being set in code in the ItemDataBound handler):

if (e.Item is RadListViewDataItem)
{
    RadListViewDataItem item = e.Item as RadListViewDataItem;
  
    // item-level objects
    Label lblLoanNumber = item.FindControl("lblLoanNumber") as Label;
    Label lblCommissionTotal = item.FindControl("lblCommissionTotal") as Label;
    RadNumericTextBox txtSpreadAmount = item.FindControl("txtSpreadAmount") as RadNumericTextBox;
    RadButton btnSplit = item.FindControl("btnSplit") as RadButton;
    RequiredFieldValidator rfvSpreadAmount = item.FindControl("rfvSpreadAmount") as RequiredFieldValidator;
    ValidationSummary vsSpreadAmount = item.FindControl("vsSpreadAmount") as ValidationSummary;
  
    EmployeeCommissionEntity ec = item.DataItem as EmployeeCommissionEntity;
  
    if (ec.Amount.HasValue)
    {
        // set the validation groups for all the controls that need it
        btnSplit.ValidationGroup =
        txtSpreadAmount.ValidationGroup =
        rfvSpreadAmount.ValidationGroup =
        vsSpreadAmount.ValidationGroup =
            "Split_" + ec.EmployeeCommissionBankID.ToString().Replace("-", string.Empty);
  
        lblLoanNumber.Text = ec.LoanNumber;
        lblCommissionTotal.Text = string.Format("{0:c}", ec.Amount);
  
        txtSpreadAmount.MaxValue = ec.Amount.Value.ToDouble();
        txtSpreadAmount.MinValue = 0;
    }
    else
        item.Visible = false;
}

Any ideas?  I'm going to handle this server-side (I'll test the text box and if it's blank I'll set the toggle of the button back to unchecked) but I'd really like the standard asp controls to handle it so no post-back happens unless it needs to.

Thanks
-
Scott
Pero
Telerik team
 answered on 17 Feb 2011
3 answers
361 views
I have a master page and a derived web content form using the specified master page.  Any javascript I place in my Content1 and the body of the page goes in Content2.  The issue is that I am calling a javacript but since the controls only exist in the Edit Mode of the RadGrid, when the page loads it is firing an error stating that the controls do not exist in the context.

Javascript
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
        <script type="text/javascript">
  
           function copyAmount() {
               if (document.getElementById("<%=tbApprovedAmount.ClientID%>")) {
                   document.getElementById("<%=tbApprovedAmount.ClientID%>").value = document.getElementById("<%=tbRequestedAmount.ClientID%>").value;
               }
  
           
        </script
</asp:Content>

Aspx
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
.
.
<EditFormSettings EditFormType="Template" FormStyle-BackColor="#DBE9FD">
<EditColumn UniqueName="EditCommandColumn1">
</EditColumn>
<FormStyle BackColor="#DBE9FD" />
<FormTemplate>
<table width="800px" border="0" >
<tr
<td align="left"
<asp:TextBox ID="tbRequestedAmount" runat="server" 
Text='<%# Bind("RequestedAmount", "{0:0.00}") %>' ></asp:TextBox
<asp:RequiredFieldValidator ID="rfvRequestedAmount" runat="server" ErrorMessage="Requested amount is a required field" 
Display="None" ControlToValidate="tbRequestedAmount" ValidationGroup="Service"></asp:RequiredFieldValidator
<asp:Button ID="tbCopy" runat="server" Text="->" Height="20px"  
OnClientClick="copyAmount" /> 
</td
</tr
</table>                                                                    
</FormTemplate>
</EditFormSettings>
.
.
.
</asp:Content>
Veli
Telerik team
 answered on 17 Feb 2011
5 answers
94 views
Hi,

             I am using RadAsyncUpload control in my application,  I am unable to see the Upload button in IE, it is visible in firefox...
I have tried by disable the flash, but also it is not working...
How can I solve this Problem?
Rahul Barpha
Top achievements
Rank 1
 answered on 17 Feb 2011
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
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
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?