Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
95 views
Hi,

how to resize the content area (both iframe, div) and its parent element. kindly support on js files . 
Rumen
Telerik team
 answered on 19 Apr 2012
5 answers
72 views
Hi

I know this must be quite simple, but none of the examples are quite doing what I am so I am unsure what I need to do!
I am setting custom resources to an appointment which are showing fine and can be selected when inserting, but when I am editing an appointment I don't know how to bind the selected values for the custom resource.

I have looked at this page http://www.telerik.com/community/code-library/aspnet-ajax/scheduler/customize-the-advanced-form-with-the-advanced-template-user-controls.aspx  which was suggested on a previous post but this appears to be just for custom advanced forms but I am not using  a custom form, I am just using custom resources.

A simplified version of how I am adding the custom resources:

if (!IsPostBack)
            {
                 SchToday.CustomAttributeNames = new string[] { "Added Users", "Type" };
                //type is added separately and works fine, the users are added separately as they are only added under certain circumstances.
               SetUsersResource();
}
  private void SetUsersResource()
        {
            UserDetailCollection allUSers = UserManager.GetAllUsers();
            ResourceType users = new ResourceType("Added Users");
 
            users.AllowMultipleValues = true;
            users.ForeignKeyField = "AppointmentId";
            SchToday.ResourceTypes.Add(users);
 
            foreach (UserDetail user in allUSers)
            {
                SchToday.Resources.Add(new Resource("Added Users", user.UserId, user.FullName));
            }
        }

When I bind the scheduler I an doing this:

SchToday.DataSource = GetSchedule();
Where GetSchedule returns a collection of appointments from a table set up as per the documentation.

The selected users are stored in a table called UserAppointments, where the appoinmentId is stored against the user ID.
How do I bind these values back so they are selected when I edit the appointment?

Bex



Peter
Telerik team
 answered on 19 Apr 2012
42 answers
2.4K+ views

You can find attached to this sticky note all available localizations of RadEditor for ASP.NET AJAX provided by our customers. If you have any new localizations for RadEditor and would like to share them with our community, you can send them via the support ticketing system under your Client.net account.

You work will be gladly rewarded.

p.s. Please, note that Telerik supports only the provided English (en-US), German (de-DE) and French (fr-FR) localizations in the Telerik.Web.UI installation and that the attached here localizations could be incomplete or could have mistakes.

p.s.2. If you want t to update any language packs, you can use the following useful tool: http://www.screwturn.eu/(X(1)S(grc2ro551rnpa2eeviiyb5fn))/ResxSync.ashx. It can add new keys to the translated files whenever you have updated the original English files.

Another good diff and merge tool is WinMerge.

Best regards,
Rumen
The Telerik team

Rumen
Telerik team
 answered on 19 Apr 2012
5 answers
626 views
I am using RadAsyncUpload to upload image. I wanted to added client side validation of image for validating height and width of the image. There is property MaxFileSize of this control but it validates the whole size of image, but I want to validate height and width in pixels.

Thanks in advance.
Max
Top achievements
Rank 1
 answered on 19 Apr 2012
2 answers
88 views
hello folks,

i have one simple page containig 3 link buttons. on which different placeholders are loaded dynamically at runtime (usercontrols). in that control view i have button Save on each page which redirects to other placeholder. But on button click i dont wants to get page refersh. what should i use ?

i tried with RadAjaxManager.Rediret(""); but this is refreshing my view. is there any other way ? ;)

example
same page with different view
button1 -> click redirects to placeholder2
button2 -> click redirects to placeholder1
button3 -> click redirects to placeholder2

Thank you in advance
darshan thacker
Top achievements
Rank 1
 answered on 19 Apr 2012
1 answer
108 views
Hi,

i use selenium IDE to test my site. i need to perform test with grid reordering columns and save changes. Is there anyway to achieve this by selenium RC or selenium IDE itself.

Thanks and Regards
Venkat
Hus Damen
Top achievements
Rank 1
 answered on 19 Apr 2012
4 answers
167 views
Is it possible to add a link to the image in the ImageURL of node?
Issac
Top achievements
Rank 1
Iron
 answered on 19 Apr 2012
5 answers
280 views
I have a RADGrid on my page. But when the user clicks any of the control in the grid, Page Forward/Back, Page Number, PageSize, Refresh, Checkbox Row Selector, etc... The entire page refreshes.  I would like to have just the Grid itself refresh.  I looking online, but I can't seem to find the information to make it all click.

I am using DNN 6, and I manually registered the RADAJAXManager on the page. I saw there was an EnableAJAX setting, but then later found that it was depreciated in the newer Telerik controls. So then I tried programatically adding the AJAX Settings with AddAjaxSetting(objMyRADGrid, objMyRADGrid), but nothing happens. I am guessing I am doing something wrong, or I am looking entirely in the wrong place.

Any clues or suggestions?
Ben
Top achievements
Rank 1
 answered on 19 Apr 2012
3 answers
142 views
Is it possible to get the GridNumericColumn to set the <input> to type="number" in order to get the iPad to show the number keyboard?
Vasil
Telerik team
 answered on 19 Apr 2012
2 answers
154 views
Current project requires that I pass a value that someone typed in via a RadDateInput textbox to the radWindow that will launch when a user clicks on the link button.  Maybe I am getting confused with the controls and would appreciate some direction.  Below is my code.
<script type="text/javascript">
    //<![CDATA[
    function openRadWin() {
        radopen("ManageFS.aspx?cycle_date=" + radDateInput1, "RadWindow1");
    }
    //]]>                                                                       
</script>
When a user clicks btnAddStmt it will launch the radWindow and I would like to pass the value.  What I also would like to do is validate that _new_period is not blank otherwise there is no need to pop-up the window.  Can't seem to have it perform validation client-side and still have things work.
<td style="text-align: center;">
    New statement cycle date <strong>(mm/dd/yyyy)</strong>:
         
    <telerik:RadDateInput ID="_new_period" runat="server" Width="100px"
        InvalidStyleDuration="100" CssClass="InputText" DateFormat="MM/dd/yyyy"
        DisplayDateFormat="MM/dd/yyyy">
    </telerik:RadDateInput>
</td>
<td style="text-align: center;" class="side">
    <asp:LinkButton ID="btnAddStmt" runat="server" Visible="false">Add Statement</asp:LinkButton>
</td>
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
           If Session("site_member_type") = 1 Then
                btnAddStmt.Visible = True
                Me.btnAddStmt.Attributes.Add("onclick", "openRadWin(); return false;")
                Me.pnlHideViews.Visible = True
            End If
end sub
Joe Riley
Top achievements
Rank 1
 answered on 19 Apr 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?