Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
201 views
Hello,
 
I have an AsyncUpload on my page. I browse my page, click [Select], choose one or more files to upload, and click [Open]. At that point, each selected file appears within AsyncUpload, and each file displays its own individual progressbar. This, of course, is the default behavior of AsyncUpload.
 
The progressbar that appears for each file looks like it has a height of 1 or 2px. I would like to increase the height of the progressbar that appears.
 
I've added a style.css and I am using this to control some of the AsyncUpload format. For example, the following will cause each selected file name to appear with blue text:
 

.RadAsyncUpload { color:Blue; }

 
To try to change the height of the progressbar, I added the following to my CSS:
 

.RadAsyncUpload .ruProgress .ruBar { height:10px; }

 
I have tried several variations of this, but have been unsuccessful at changing the bar's height. How do I change the height of the progressbar?
 
Thank you
Princy
Top achievements
Rank 2
 answered on 07 Mar 2013
2 answers
130 views
Upgraded to (v.2013.1.220.40) and now my code that used to work doesn't.  Anyone else have this problem, or can offer some suggestions?

Protected Sub grdSearch_ItemDataBound(sender As Object, e As Telerik.Web.UI.GridItemEventArgs) Handles grdSearch.ItemDataBound

        If TypeOf e.Item Is GridDataItem Then
            Dim dataItem As GridDataItem = CType(e.Item, GridDataItem)

Dim sID As String = dataItem("ID").Text     ***has value of "nbsp;" since upgrade. It used to give me a legit value***

        End If

    End Sub

            <telerik:GridBoundColumn DataField="ID" DataType="System.Int32" FilterControlAltText="Filter ID column" HeaderText="ID" ReadOnly="False" 
                SortExpression="ID" UniqueName="ID" Visible="False">
                <ItemStyle Wrap="False" />
            </telerik:GridBoundColumn>

Thanks,
Andrew

Eyup
Telerik team
 answered on 07 Mar 2013
3 answers
339 views
Hi,

I am using RadAutoCompleteBox (Q3 2012 SP2) & Binding it with WebMethod like:
<telerik:RadAutoCompleteBox ID="rdtxt" runat="server" Width="90%" EmptyMessage="enter country to search" InputType="Token" Filter="StartsWith" AllowCustomEntry="true">
<TextSettings SelectionMode="Single" />
<WebServiceSettings Method="GetCountries" Path="frmPage1.aspx" />
</telerik:RadAutoCompleteBox>
It works fine. Fetching countries from server method GetCountries().

Now, I want to fetch State for that selected/entered country.
How to pass that country to WebMethod of GetState(object countryData) ?

Plz reply asap.
Nencho
Telerik team
 answered on 07 Mar 2013
5 answers
328 views
Hi,

I am binding data to grid from object :

Grid Declaration :
<telerik:RadGrid ID="TasksAssignedGrid" runat="server" AllowFilteringByColumn="True"
               AllowMultiRowSelection="true" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="false"
               GridLines="None" Skin="Metro" ValidationSettings-EnableValidation="true" ClientSettings-AllowColumnsReorder="true"
               OnExcelMLExportStylesCreated="TasksAssignedGrid_ExcelMLExportStylesCreated" OnExcelMLExportRowCreated="TasksAssignedGrid_ExcelMLExportRowCreated">
 
<MasterTableView DataKeyNames="TaskNo" AllowMultiColumnSorting="true">
                   <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>


I have  RadAjaxManager :
     
<telerik:RadAjaxManager runat="server" ID="RadAjaxManager1">
      <AjaxSettings>
          <telerik:AjaxSetting AjaxControlID="TasksAssignedGrid">
              <UpdatedControls>
                  <telerik:AjaxUpdatedControl ControlID="TasksAssignedGrid" />
              </UpdatedControls>
          </telerik:AjaxSetting>
      </AjaxSettings>
  </telerik:RadAjaxManager>

I have total records :


If I click on paging then I am getting this error :

Note : I am not getting this error if records count less than 100.

Please help me to solve this problem .. Thank you in advance...
Vasil
Telerik team
 answered on 07 Mar 2013
4 answers
213 views
When using the asynchUpload control, the file uploaded appears above the select box after clicking on the select button.
It also allows you to remove it.

But, in the following example:http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandradasyncupload/defaultcs.aspx?product=upload

when you to edit an existing record, the filename is displayed in a textbox, and you don't see it with the remove button.

This seems like a little bit of a hack. Is there any way to get the file to display in edit mode the way it does in insert mode?
Plamen
Telerik team
 answered on 07 Mar 2013
1 answer
148 views
It seems the aggregate count function just counts the number of rows in a group, ignoring any field values.  Is this correct?  Is there a way to count the number of non-null values for a field (like how the SQL COUNT function works) without wiring up a custom aggregate?
Antonio Stoilkov
Telerik team
 answered on 07 Mar 2013
1 answer
102 views
When you set a MinDate on a RadDatePicker, the Calendar's arrows are hidden to prevent straying into the wrong month... however in the Calendar, the arrows aren't hidden and instead I get a JavaScript alert:

---------------------------
Message from webpage
---------------------------
Date is out of range.
---------------------------
OK   
---------------------------

How do I hide the arrows?
Antonio Stoilkov
Telerik team
 answered on 07 Mar 2013
5 answers
883 views

Hi,

I am using raddatepicker for selecting the dates. my scenario when i select the startdate , on click of enddate raddatepicker, the start date value should be pre-populated. I am using javascript to achieve this function. But i am unable to achieve the same. Below is the code.

I am passing the clientId because the raddatepicker is in userControl and i am calling the javascript method in parent page.

Problem is when i am passing clientId it is always going as string.  Let me know if anything i need to do.

 <telerik:RadDatePicker ID="rdDPStartDate" runat="server" Height="20px" onclick=" def(this, 'acd' );"
                    Width="223px">
                </telerik:RadDatePicker>
                <br />
       
            <div id="divEndDatePicker" class="DivTxtBox">
                <telerik:RadDatePicker ID="rdDpEndDate" runat="server" value="Set Date"
                    onclick=" setdate(this,'<%=rdDPStartDate.ClientID %>');" Height="20px" Width="223px">
                </telerik:RadDatePicker>
               

function setdate( start,end) {debugger;
          dateVar = new Date();
         var sd =  $find('end');
         var startDate = sd.get_selectedDate();
         var endDate = $find(start.Id).set_selectedDate(startDate);
//          varDate = datePicker.get_selectedDate();
//          
//          endDatePicker.set_selectedDate(varDate);
      }
Andrey
Telerik team
 answered on 07 Mar 2013
1 answer
60 views
Hi,

I am using telerik radgrid in my application. The problem I am facing here is that the when I set the headerstyle and itemstyle width in percentage header table and the item table columns are not aligned .  I have set the mastetableview's tablelayout property to fixed and also. This issue does not occur when I set the width of  headerstyle and item style  in px. The grid ItemTable has a scrollbar and I think the scrollbar is creating an issue for this. Please help in this.


Thanks,
Shinu
Top achievements
Rank 2
 answered on 07 Mar 2013
3 answers
316 views
Hi folks,
Can anyone let me know if it is possible to add a custom close image button to the Radwindow and hide all other button control in titlebar?

Thanks,
Henry.
Princy
Top achievements
Rank 2
 answered on 07 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?