Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
221 views
I'm using a radlistview w/ a pagesize of 1 to simulate a winforms data entry screen for data collection on an ipad.

When I click to have the user add a new record, the current record is displayed at the top of the screen and a second insert record is displayed at the bottom.

Is there a way for me to only show the insertitemtemplate and hide the other templates when doing an insert?

Thanks,
Mike
Bill Dowis
Top achievements
Rank 1
 answered on 06 Apr 2014
1 answer
159 views
Hi,

I am using Rad Combo Box in my website. I am populating the Combo box with some data. It is working fine for drop-down the Items in Fire Fox. But in chrome it takes a lot of time to drop-down the Items.

Please help me to avoid the Issue.

Thanks,
Shinu
Top achievements
Rank 2
 answered on 05 Apr 2014
1 answer
191 views
I am trying to make a more generic method to attach to 3 grids on the same page and would like for the PageSizeChanged event to used by all three grids, but have the code inside the event figure out the grid that called the event...  I am sure this can be done, but I have not been able to drill down through the sender object to get the ID..

So I took this approach (Does it look safe enough?)...

var Sender = ((RadGrid)sender);
string GridName = Sender.ID;


public void Grid_PageSizeChanged(object sender, GridPageSizeChangedEventArgs e)
       {
           
            
           //get the current page name
           string pageName = Path.GetFileNameWithoutExtension(Request.Path);
           string GridName = {Here is where I want to use sender to get the actual grid.id}
           int newPageSize = e.NewPageSize;
           var pagerHelper = new GridPagerSizeHelper();
           pagerHelper.saveSelectedPageSize(pageName, GridName, newPageSize, (User)Session["currentUser"]);
           var Nav = new  Common.MasterPages.Nav();
           Nav.ReloadUserPreferences((User)Session["currentUser"]);  // To avoid DB hit with each page load.
       }
Shinu
Top achievements
Rank 2
 answered on 05 Apr 2014
2 answers
78 views
I get a "DataSource not set" error when I bind a RadPanelBar.
To reproduce the bug, it must contain a RadPanelItem that contains a RadAutoCompleteBox.
The problem appeared in version 2014.1.225 and is still visible in the hotfix 2014.1.326

protected string RadPanelItemValue = "RadPanelItem1";
 
protected void Page_Load(object sender, EventArgs e)
{
    if (!Page.IsPostBack)
    {
        RadPanelBar1.DataBind(); // Generates an error: "DataSource not set"
    }
}


<telerik:RadPanelBar ID="RadPanelBar1" runat="server" >
    <Items>
        <telerik:RadPanelItem Value='<%# RadPanelItemValue %>' >
            <ItemTemplate>
                <telerik:RadAutoCompleteBox runat="server" ID="RadAutoCompleteBox1"></telerik:RadAutoCompleteBox>
            </ItemTemplate>
        </telerik:RadPanelItem>
    </Items>
</telerik:RadPanelBar>
Veronique
Top achievements
Rank 1
 answered on 04 Apr 2014
1 answer
110 views
I originally started building a web app in VS 2012.  I upgraded to 2013 and continued building the app.  The app is using the latest releases of the AJAX and Reporting tools.

However, I have some issues when I run the app after I have built it in VS 2013.  I have weird errors popping up.

One example:

An aspx page with some combo boxes for the user to provide report parameters.  Once the parameters are selected, user clicks the button to show the report using a reportviewer.  

When I build the web app with VS 2013 and run it, I get this error: Sys.WebForms.PageRequestManagerServerErrorException: Value cannot be null.
Parameter name: key

However, when I build the app with VS 2012 and run it, everything works as it is supposed to.

Has anybody seen anything like this?  I'm baffled - and sad that I have to continue using VS 2012.  I'll be happy to post some code snippets if necessary.

Thanks!!

Kevin
Kevin F
Top achievements
Rank 1
 answered on 04 Apr 2014
2 answers
39 views
Hi,
            I am using Radwindow in my screen. the document page(aspx) has a long content. I have to show the radwindow on a click event of a button which is shown below. My requirement is to show the radwindow on the top of the document  (means the Scroll position of my document page should be top when Radwindow show event occured), without any flickering.

Need help as soon as possible





Thanks
Dhamodharan
Top achievements
Rank 1
 answered on 04 Apr 2014
5 answers
286 views
Hi everyone!
I have created a simple project containing a RadGrid with CheckListFilter on its columns and i would like to make two questions about some little problems related to this project: 

1 - How can I work on the checklist's window to make some simple operation like adjust its size and enable or disable the scroll? (I tried with filtermenu but it doesn't work). 

2 - Is it possible to control the properties of an element of RadListBoxItem type to be checked or unchecked in the code-behind? I tried to set its "checked" property equals to true in code-behind but it doesn1t work (I don't know if it can be due to a javascript error that is returned to me with ie9 every time I click on the icon to get the checklist: "Microsoft JScript runtime error: Object does not support property or method 'indexOf'" or to some other reason).

Thanks in advance,
Gionata.
Gionata
Top achievements
Rank 1
 answered on 04 Apr 2014
8 answers
243 views

Hi. Just got the new OrgChart. A component I have been looking forward to.
I used my userdatabase with managers as datasource and the chart was drawn :-)
But, the GroupColumnCount does not have any affect. The chart is 34000px wide, with all users on the same level on one row.
I hope this can be fixed, because I need this in a lot of scenarios.


Thanks
Espen
Gabriele
Top achievements
Rank 1
 answered on 04 Apr 2014
4 answers
130 views
When I place a RadCalendar on a page, or when the calendar opens with the RadDatePicker, the calendar width is crazily too much, like 1500 px, so you have to scroll way out wide to see the days.  Obviously, this does not work very well.  Is there some setting I am missing?

Kevin
Kevin
Top achievements
Rank 1
 answered on 04 Apr 2014
4 answers
159 views

I have a requirement to postback inside of the radgrid add new record event, What I have is a service that looks up a name, when the user picks a name I want a bunch of labels to be filled out via a postback.  can this be accomplished inside the add record event.  i also use to edit records as well but this is easy to fill.


This si my searcher that needs to post back and fill in labels on the add new record event of the radgrid.
 <EditFormSettings EditFormType="Template">
                                    <FormTemplate>
                                        <table style="width:80%;background-color:antiquewhite;border:double;margin-left:auto;margin:auto">
                                            <tr>
                                                <td>
                                                   <asp:TextBox ID="txtSearch" runat="server" Width="260px" AutoPostBack="true"></asp:TextBox>
                                                    <asp:AutoCompleteExtender ID="txtSearch_ACE" runat="server" DelimiterCharacters="" Enabled="True" ServicePath="~/iMACService.asmx" ServiceMethod="FindName"
                                                    TargetControlID="txtSearch" UseContextkey="true" MinimumPrefixLength="2" OnClientItemSelected="Selected" EnableCaching="true" CompletionInterval="1" />
                                                    <asp:TextBoxWatermarkExtender ID="txtSearch_WME" runat="server" TargetControlID="txtSearch" WatermarkText="Enter Last Name First Name" WatermarkCssClass="WaterMark" />
                                                </td>
                                            </tr>







Kevin
Top achievements
Rank 1
 answered on 04 Apr 2014
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?