This question is locked. New answers and comments are not allowed.
Hi Guys,
Love the telerik MVC2 controls, totally in love.
I have a question. How can i call the telerik helper to build the HTML string that represents an instance of a date picker (could be any control though) inside my own helper.
i have a function that will, based on preferences of a user.
so currently the function looks like so
Any idea's? am i going down the right path>
Love the telerik MVC2 controls, totally in love.
I have a question. How can i call the telerik helper to build the HTML string that represents an instance of a date picker (could be any control though) inside my own helper.
i have a function that will, based on preferences of a user.
so currently the function looks like so
Public
Shared
Function
RenderSecureDatePicker( _
ByVal
referenceToHelper
As
HtmlHelper, _
ByVal
Name
As
String
, _
ByVal
dateToRender
As
Date
_
)
As
String
With
Telerik.Web.Mvc.UI.HtmlHelperExtension.Telerik(referenceToHelper)
datePickerInstance = .DatePicker()
datePickerInstance.Name = Name
datePickerInstance.Value = dateToRender
Return
datePickerInstance.ToHtmlString()
End
With
End
Function
Any idea's? am i going down the right path>