Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
125 views
Hi,
I want to change autocomplete extender from ACT with RadComboBox ( because of loading on demand and virtual scrolling ). Loading and scrolling is working correctly. But I am populating data from WebServis and I need to send additional info to webservis ( like contextKey in autocompleteextender ) -  this value can be set from codebehind and I also need OnClientItemSelectedEvent ( when I hoover over item in combobox I want to show additional info about that item ).

Another thing I dont understand is: in aspx page I set parameter ItemsPerRequest, but how can I get that value in webservis??
In ace it is a parameter for web servis method - method signature ( string prefixText, int count, string contextkey ).

Is there a way how to do this??

Thanks in advance
Dimitar Terziev
Telerik team
 answered on 05 Apr 2011
3 answers
72 views
Using RadMenuTelerik Version 2011.1.315.40 in Internet Explorer 9.

When hovering over a menu Item Group that has a seperator in it:  The menu will dropdown but the first menu item's text will shift 2 or more pixels down (after the seperator).  Is there a fix for this?

This menu item is fine.
<Item IsSeparator="True" />
This menu item's text will display then shift down a few pixels.

Thanks,

Mike
Kate
Telerik team
 answered on 05 Apr 2011
3 answers
123 views
Hi forums,

I have a working rotator (type CarousselButtons) with images (in colors).

I was wondering. Is there any chance (by using the client API or the like), that I can only show the current item index image in colors and the others (not current item index) in say semi transparent...maybe apply the semi transparent-ness at the client side..

Basically my need is to "highlight" the current index and to put the other indexes "away"..

Hope this post is meaningful..

Regards

Henrik
Marin Bratanov
Telerik team
 answered on 05 Apr 2011
1 answer
73 views
Hi,

In my application, on grid pop-up providing document upload feature using Async Upload tool. For the most part when user try to open pop-up stylesheet is not appering for asyncupload and datepicker control.

Attaching screen shot for review. Also I noticed this issue mostly with Internet explorer. Not 100% sure with browser specific but found most of the time with Internet Explorer 7. Let me know the possible combination can cause these? 

I would really appreciate response as early as possible.

Thanks,
Genady Sergeev
Telerik team
 answered on 05 Apr 2011
5 answers
108 views
Order in Html page
RadProgressManager
RadAsyncUpload
RadProgressArea

http://demos.telerik.com/aspnet-ajax/upload/examples/async/monitorprogress/defaultcs.aspx
If you look at the demo the progress is not updating.
Uploaded files: 0% (0) Total files: 1
The same result if i make my own page with the controls

What to do?!??

<telerik:RadProgressManager ID="Radprogressmanager1" runat="server" Skin="Office2007" />
                            <telerik:RadAsyncUpload runat="server" ID="AsyncUpload1" OnClientValidationFailed="validationFailed"
                                OnClientFileUploadRemoved="fileUploadRemoved" MultipleFileSelection="Automatic"
                                EnableInlineProgress="false" CssClass="RadAsyncUpload">
                                <Localization Cancel="Annuleren" Remove="Verwijderen" Select="Selecteer" />
                            </telerik:RadAsyncUpload>
                            <telerik:RadProgressArea ID="RadProgressArea1" runat="server" Culture="nl-NL" Skin="Office2007"
                                Style="position: absolute; top: 1%; left: 1%; margin: 0 0 0 0px;">
                                <Localization Cancel="Annuleren" ElapsedTime="Verstreken tijd" EstimatedTime="Geschatte tijd"
                                    Total="Totaal voortgang" TotalFiles="Totaal" TransferSpeed="Snelheid" Uploaded="Geüpload"
                                    UploadedFiles="Voortgang" />
                            </telerik:RadProgressArea>
Genady Sergeev
Telerik team
 answered on 05 Apr 2011
1 answer
99 views
I have a dataset that I'd like to take the first 10 rows from, and then bind them to my grid. Here's what I have:



DataTable dt = new DataTable();
for (int i = 0; i < 10; i++)
{
    dt.ImportRow(ds.Tables[0].Rows[i]);
    dt.AcceptChanges();
}
rgPreview.DataSource = dt;



I'm getting a "

Cannot find any bindable properties in an item from the datasource"

 error.

fred williams
Top achievements
Rank 1
 answered on 05 Apr 2011
2 answers
120 views
Hi,

as subject says.

<telerik:RadAsyncUpload runat="server" ID="RadAsyncUploadImageForNavNode" AllowedFileExtensions="jpg,jpeg,png,gif" CssClass="i1nvisible p1ixelWidthHeight"
                   MaxFileSize="5242880" MultipleFileSelection="Disabled" OnFileUploaded="RadAsyncUploadImageForNavNode_FileUploaded" EnableInlineProgress="false" 
                   MaxFileInputsCount="1" OnClientFileUploaded="RadAsyncUploadImageForNavNode_OnClientFileUploaded" Localization-Select="<%$ Resources:PGC, ProjectContentElement_UploadImage %>">
               </telerik:RadAsyncUpload>


I needed only Select button, so this is the css I took somewhere from this forum:

.createContentPageAdditionalOptions .RadUpload input.ruFakeInput
{
    display: none;
}
.createContentPageAdditionalOptions .RadUpload input.ruBrowse
{
    width: 115px;
.createContentPageAdditionalOptions .RadUpload span.ruFileWrap input.ruButtonHover
{
    background-position: 100% -46px;
}
.createContentPageAdditionalOptions .RadUpload input.ruButton
{
    background-position: 0 -46px;
}

Thx!
Shukhrat Nekbaev
Top achievements
Rank 1
 answered on 05 Apr 2011
1 answer
88 views
Drawings and have the same problem.
What should I do?

link:http://www.winterer.co.kr/file/zoom_scroll.png


Rumen
Telerik team
 answered on 05 Apr 2011
2 answers
185 views
Hello Everyone,

I am new to Rad Grid and want to put DateTimePicker in a Column which has data type Datetime.

However when I specify AutoGenerateColumns="True" at that time DateTimePicker is generated in Column Filter.
But when I doing AutoGenerateColumns="False" and Generate Columns in Page_Load Event at that time all code is same
but instead of DateTimePicker TextBox is generated.

So anyone can help me how to enable DateTimePicker for Filter Column when I generate columns in code behind ?

However I have also specify DataType property when I am adding columns to Grid.

Here is code that I am using.I have declared grid in ASPX Page and just want to describe structure from code behind.

protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            AddColumns();
            ViewState["DataSet"] = GetData();
        }
    }
    private void AddColumns()
    {
        GridBoundColumn colCustomerID = new GridBoundColumn();
        GridBoundColumn colBirthDate = new GridBoundColumn();
        GridBoundColumn colName = new GridBoundColumn();
        GridBoundColumn colAddress = new GridBoundColumn();
        GridBoundColumn colPhone = new GridBoundColumn();
        GridBoundColumn colSalary = new GridBoundColumn();
        GridBoundColumn colBoolTest = new GridBoundColumn();
 
        rgDemo.Columns.Add(colCustomerID);
        rgDemo.Columns.Add(colBirthDate);
        rgDemo.Columns.Add(colName);
        rgDemo.Columns.Add(colAddress);
        rgDemo.Columns.Add(colPhone);
        rgDemo.Columns.Add(colSalary);
        rgDemo.Columns.Add(colBoolTest);
 
 
        colCustomerID.DataField = "EmployeeID";
        colCustomerID.HeaderText = "EmployeeID";
        colCustomerID.UniqueName = "EmployeeID";
 
 
        colBirthDate.DataField = "BirthDate";
        colBirthDate.HeaderText = "BirthDate";
        colBirthDate.DataType = Type.GetType("System.DateTime");
        colBirthDate.AllowFiltering = true;
        colBirthDate.UniqueName = "BirthDate";
        colBirthDate.DataFormatString = "{0:MM/dd/yyyy}";
         
 
        colName.DataField = "Name";
        colName.HeaderText = "Name";
        colName.UniqueName = "Name";
 
        colAddress.DataField = "Address";
        colAddress.HeaderText = "Address";
        colAddress.UniqueName = "Address";
 
        colPhone.DataField = "Phone";
        colPhone.HeaderText = "Phone";
        colPhone.UniqueName = "Phone";
 
        colSalary.DataField = "Salary";
        colSalary.HeaderText = "Salary";
        colSalary.UniqueName = "Salary";
 
        colBoolTest.DataField = "BoolTest";
        colBoolTest.HeaderText = "BoolTest";
        colBoolTest.DataType = typeof(Boolean);
 
    }
 
    private DataSet GetData()
    {
        DataSet _dsData = new DataSet();
 
        DataTable _dtData = new DataTable("Employee");
 
        DataColumn _dc1 = new DataColumn("EmployeeID", typeof(string));
        DataColumn _dc2 = new DataColumn("BirthDate", typeof(DateTime));
        DataColumn _dc3 = new DataColumn("Name", typeof(string));
        DataColumn _dc4 = new DataColumn("Address", typeof(string));
        DataColumn _dc5 = new DataColumn("Phone", typeof(string));
        DataColumn _dc6 = new DataColumn("Salary", typeof(int));
        DataColumn _dc7 = new DataColumn("BoolTest", typeof(int));
 
        _dtData.Columns.Add(_dc1);
        _dtData.Columns.Add(_dc3);
        _dtData.Columns.Add(_dc2);
        _dtData.Columns.Add(_dc4);
        _dtData.Columns.Add(_dc5);
        _dtData.Columns.Add(_dc6);
        _dtData.Columns.Add(_dc7);
 
 
        for (int i = 0; i < 20; i++)
        {
            string index = Convert.ToString(i + 1);
 
            DataRow dr = _dtData.NewRow();
 
            dr["EmployeeID"] = "E000" + index;
            dr["Name"] = "Employee " + index;
            dr["Address"] = "Address " + index;
            dr["Phone"] = "123-56789";
            dr["Salary"] = Convert.ToString((i + 1) * 1000);
            dr["BirthDate"] = DateTime.Now.AddDays(i + 1);
            dr["BoolTest"] = (i % 2) == 0 ? true : false;
            _dtData.Rows.Add(dr);
        }
 
        _dsData.Tables.Add(_dtData);
        return _dsData;
    }
 
    protected void rgDemo_OnNeedDataSource(object source, GridNeedDataSourceEventArgs e)
    {
        //Write code to get data in DataSet ds
        DataSet _ds = (DataSet)ViewState["DataSet"];
        rgDemo.VirtualItemCount = _ds.Tables[0].Rows.Count;
        rgDemo.DataSource = _ds;
    }
Dharmesh
Top achievements
Rank 1
 answered on 05 Apr 2011
5 answers
261 views
I have specified the number of stars in my code behind using:

numberOfStars = 7;

ctrlRating.ItemCount = NumberOfStars;

The values assigned seem to be automatic (e.g. 1, 2, 3, 4, 5, 6, 7) and I would like to override them with my own values (0, 2, 4, 6, 8, 10, 12).

In this post: http://www.telerik.com/community/forums/aspnet-ajax/rating/tooltips-of-radrating.aspx
you say "That is why, I would recommend that you wrap the rating control in UpdatePanel and update the items in the Items collection server-side."

I have tried to update the items and always get an Index out of range error even in the first iteration.

ctrlRating.Items[numberOfStars - 1].Value = 33

 

 

 

Can you please provide an example of updating the item values using c sharp?

Thanks

Dobromir
Telerik team
 answered on 05 Apr 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
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?