Telerik Forums
Community Forums Forum
1 answer
106 views
Hi,

   I am new in asp.net mvc.

(I)

View

<%

 

= Html.Telerik().ComboBoxFor(Model => Model.GetRequestedBy())

 

.AutoFill(

 

true)

 

.BindTo(ViewData[

 

"RequestedBy"] as SelectList)

 

 

.HighlightFirstMatch(

 

true)

 

%>

Model


 

 

public DataTable GetRequestedBy()

 

{

 

 

Tests mytst = new Tests ();

 

 

 

DataTable dtRequested = mytst .GetRequested(true);

 

 

 

return dtRequested;

 

}


Controller

 

 

public ActionResult Requested()

 

{

 

 

TestProject myTestProject  = new TestProject ();

 

ViewData[

 

"RequestedBy"] = myTestProject .GetRequestedBy();

 

 

 

return View();

 

}


When I executing the above code I got an error  as below:

"value" cannot be null or empty.

(II)

View

 

 

 

 

 

<script src="../../Scripts/telerik.datetimepicker.min.js" type="text/javascript"></script>

 

 

 

 

 

<%

 

= Html.Telerik().DateTimePicker()

 

.Name(

 

"StartDate")

 

.Value(

 

DateTime.Now)

 

%>

 

 

When I executing the above code I got an error  as below:

Microsoft JScript runtime error: 'undefined' is null or not an object


    I am using ASP.NET MVC Q1 2013 telerik controls(In asp.net mvc2 application).How to pass value from view to controller?(In textbox,combobox,datepicker etc).
   Can I get any sample project for the same?



With regards
Dayana

When I executing the above code I got an error  as below:    I am using ASP.NET MVC Q1 2013 telerik controls(In asp.net mvc2 application).How to pass value from view to controller?(In textbox,combobox,datepicker etc).   Can I get any sample project for the same?With regardsDayana
Kiril Nikolov
Telerik team
 answered on 05 Nov 2013
1 answer
107 views
<telerik:GridTemplateColumn HeaderText="Code" SortExpression="Code" UniqueName="Code" AllowFiltering="True">
     <ItemTemplate>
         <asp:LinkButton ID="lbCCode" runat="server" Text='<%# Eval("Code") %>' />
     </ItemTemplate>
</telerik:GridTemplateColumn>
So how can I allow RadGrid to filter the results based on the text value of LinkButton? Is there a way to do that? Thanks.

Radoslav
Telerik team
 answered on 31 Oct 2013
0 answers
63 views
We need some assistance with Test Studio.  Work can be done remotely.  Some scripting and some training of the scripts you created.  Please contact me with your number so we can talk about compensation and timing.

jobopportunitychicago@gmail.com

Chris
 
Chris
Top achievements
Rank 2
 asked on 30 Oct 2013
1 answer
46 views
In my web application i have to paste from excel some data, i would like to know how i can accomplish that.
Tsvetina
Telerik team
 answered on 08 Oct 2013
1 answer
156 views
how to disable/enable entire RadEditor using javascripts ?????
Ianko
Telerik team
 answered on 08 Oct 2013
0 answers
99 views
Hello friends telerik,
I hope I can help, I have not much experience using telerik controls so I do not see the solution on any side, this is the problem:
I have a radgrid with imagebuttons, I get the value of a row but I saw that you need to select the row and so if I gives the result, the problem is that they are two steps and I need to be in one.
that when you are given click is select the row and bring me the result, is this possible?
Jor
Top achievements
Rank 1
 asked on 03 Oct 2013
1 answer
76 views

We are using RadControls_for_ASP.NET_AJAX_2009_1_527 in our application.

 

We are facing and issue at client side where intermittently users screens flickers and is not painted completely. Styles which we have applied through CSS were also not applied at that point, more over screen response becomes very slow although memory and CPU usage does not show any strange behavior. In IIS logs and server side everything was normal.

 

All users are using Windows XP SP3 with Internet Explorer 7. We tried using IE 8 for one of the users but the same issue occurs in IE 8 as well.

 

Please let us know is it know issue of RadControls_for_ASP.NET_AJAX_2009_1_527 and what can be done to resolve it?

 

Your fast response is highly appreciated as this issue has becomes very critical for our users.
Slav
Telerik team
 answered on 01 Oct 2013
1 answer
128 views
I spend some part of my day every day logging into telerik again and again. Please add a "Remember Me" checkbox?  Please!
Lora Borisova
Telerik team
 answered on 30 Sep 2013
1 answer
147 views
is their any way to export whole aspx web page to pdf using telerik tool ??? Give some ideas to solve this problem ?
Kostadin
Telerik team
 answered on 24 Sep 2013
1 answer
86 views
Hi
How to export whole aspx web page to pdf using telerik tool ??? is it possible to do with telerik ?
Kostadin
Telerik team
 answered on 24 Sep 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?