Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
118 views

Hi ,

 

I have a radgrid in radpane. The Radgrid loses its height and the data is not visible. Tried one of the links by telerik http://www.telerik.com/forums/radgrid-in-radpane-problem-with-100-height. This is not working. Thanks for the Help.

Vvamc
Top achievements
Rank 1
 answered on 20 Jul 2015
1 answer
85 views

Is it possible with Telerik MVC Grids to customize the pager similar to how grouping works?

 

So for instance I want to look at all of Student A's records and I don't care about how many rows will be returned.

Then I want to use the pager to look at all of Student B's records.

 

Is such  a thing even possible? :)

Pavlina
Telerik team
 answered on 20 Jul 2015
1 answer
263 views

I get the error "These columns don't currently have unique values" when I have more than one NULL parent value in my list. The element Ids are all unique but I always get the error. Please help.

Sample data
parentId elementId  elementText
NULL     116            ​Text1
116         2108 ​         Text2
2108       2109          Text3
2108       2110           Text4
NULL      72              Text5
72           655             Text6
72           660              Text7
72 672

 

Ivan Danchev
Telerik team
 answered on 20 Jul 2015
5 answers
168 views
I'd like to ajaxify a button (btnExportTasks) that uses Aspose.Cells to export some data. When set to the code below nothing happens.

What should my AjaxSettings look like?

<telerik:RadAjaxManager runat="server" ID="ram">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="btnExportTasks">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="btnExportTasks" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>

btnExportTasks code behind handler:
...
  workbook.Save(Me.Response, "StoreItemTasks.xls"ContentDisposition.Attachment, New XlsSaveOptions())
  Response.End()
End Sub
Maria Ilieva
Telerik team
 answered on 20 Jul 2015
6 answers
419 views

Hello All

I am using RadAsyncUpload and using a custom HTTPHandler and inserting the files directly to DB. Before inserting I am checking for the MIME Type of the file. I am getting the MIME type from Uploadedfile.ContentType. This is returning NULL for .zip file.I am using IE 10 and the version of Telerik is 2014.3.1024.35

Any help is much appreciated.

Thanks

Rakesh

Rakesh
Top achievements
Rank 1
 answered on 20 Jul 2015
7 answers
1.2K+ views

Hi,

 I try to Bind an RadAutoCompleteBox with a Dictionnary, but I have this error message when the page i​s loaded and I tap a letter into the RadAutoCompleteBox => "The control DataSource(or DataSourceID) is not set."

 

I try the following code :

ASCX :

<telerik:RadAutoCompleteBox runat="server" ID="RadAutoCompleteBox1" InputType="Text" Width="200" DropDownWidth="150px"></telerik:RadAutoCompleteBox>

 

ASCX.CS

01.protected void Page_Load(object sender, EventArgs e)
02.{
03. if (!Page.IsPostBack)
04.  {
05.   Dictionary<int, string> dict = new Dictionary<int, string>();
06.   dict.Add(1, "Ann");
07.   dict.Add(2, "John");
08.   dict.Add(3, "Mary");
09.   RadAutoCompleteBox1.DataSource = dict;
10.   RadAutoCompleteBox1.DataTextField = "Value";
11.   RadAutoCompleteBox1.DataValueField = "Key";
12. }
13.}

 

Thanks for helping me

Aneliya Petkova
Telerik team
 answered on 20 Jul 2015
1 answer
142 views

Hi All,

I am using RadAjaxManager, RadPanelBar andRadGrid in my user control.

Issue:

1. Click on Webpart and click on "Add new record" in Grid from "FirstTabl" tab at first without clicking on any tab.
    Add Mode and Edit Mode working fine as expected. Showing and populating all control(RadEditor, RadPanel etc.) from the grid properly.
    It works fine.

2. Click on Webpart and then click on any other tab, then click on click on "Add new record". from Grid
    Add Mode and Edit Mode behaves weird. Data not getting populating properly.

Controls inside RadGrid and AjaxManager not initializing properly.
Error: 0x800a138f - JavaScript runtime error: Unable to get property '_preInitialize' of undefined or null reference

After follow the #1 step and then if you work with any Tab its working fine.

Can anyone please help me how resolve this issue ? Why this is happing with TAB and Grid with Ajaxmanager.

Thanks,

Harish Patil

Viktor Tachev
Telerik team
 answered on 20 Jul 2015
3 answers
673 views

I have following RadComboBox that triggers a javascript function which in turn enables a different RadComboBox

<telerik:RadComboBox ID="ddlMode"  runat="Server"  CssClass="selectBox"  AutoPostBack="false"  Width="90"  Font-Size="Small" OnClientSelectedIndexChanged="ddlMode_OnClientSelectedIndexChanged"><Items><telerik:RadComboBoxItem Text="New" Value="0" Selected="true"/><telerik:RadComboBoxItem Text="Edit" Value="1"  />
</Items>
</telerik:RadComboBox>

 

Following is the Javascript called:

function ddlMode_OnClientSelectedIndexChanged(sender, args) {
          debugger;
          var category = $find("<%= ddlPRInfo_ItemCategory.ClientID %>");
          category.enabled = true;
}

But it doesn't work.

Please guide on same..

Aneliya Petkova
Telerik team
 answered on 20 Jul 2015
1 answer
360 views

Probably a very noob question: 

Supposed I have a RadComboBox in the ItemTemplate of a RadDataForm.

The entity "Client" have a column called "genderID", which should be bound to the dataform.

Another entity "DefGender" should be bound to the combobox, with "genderID" as the DataValueField, "genderText" as the DataTextField, and I want to somehow bind the SelectedValue to Client.genderID

How would you do this pragmatically?  It was pretty straight forward in Silverlight, but I couldn't figure this out in ASP.

 Thanks.

Eyup
Telerik team
 answered on 20 Jul 2015
11 answers
404 views
Hi,

I refer to this demo: http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandradasyncupload/defaultcs.aspx?product=grid

I have tried so many times but i just can't seem to get this done. What I am trying to accomplish, if i use this exact demo, is that when i click on the image in that "Image" column it must popup in a window that contains the image that i clicked on but just in a larger scale so that it can be viewed better. So basically just a quick view of the selected image.

Could someone please help me on this?

Regards,
Anel 
Konstantin Dikov
Telerik team
 answered on 20 Jul 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?