Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
68 views
How do I remove the "today" link in monthview?

Also if anyone knows how to make month display full month (November instead of Nov) that would be cool too.

Thanks,
Dan
Peter
Telerik team
 answered on 18 Nov 2011
8 answers
201 views
We are using a masterpage which has a RadMultiView, and then in each RadPageView, we load a user control (.ascx), which is all controlled by a RadTabStrip (probably doesn't matter). Now, assuming a scenario where each user control would only speak with itself, what would be the best solution, having one master RadAjaxManager in the master page, or having separate RadAjaxManagers in all user controls? And why?

In alternative 1, we would really wrap in the entire RadMultiView in an updatepanel, in alternative 2, only the controls in each user control.
Alternative 1 would of course make the whole user control update, alternative 2 would allow more detailed control, but unless you have complex pages with lots of controls (perhaps just a RadGrid in each with a filteroption), the difference all togheter might not be all that large after all?

What would be the advantages/drawbacks of each solution?

You could make the question more complex by introducing RadAjaxManagerProxy, but in alternative 1, I guess that wouldn't really make that much of a difference would it, since the entire user control would update anyway? We have experimented a bit with this alternative 3 with a proxy and a radajaxmanager in the master, but then we get a strange problem - when we have a buttonClick_event call myRadGrid.Rebind() after modifying data, we can see that the DataBinding() event of the RadGrid is triggered, the Select is executed in the database....but the contents of the RadGrid isn't updated. Strange.

Maria Ilieva
Telerik team
 answered on 18 Nov 2011
9 answers
120 views
Hi,
We have a requirement where once the user hides or unhides the column OR resize  the column width, these settings must be remembered for that user.
Kindly let us know if this can this achieved.

Thanks,
Sudha.
Jayesh Goyani
Top achievements
Rank 2
 answered on 18 Nov 2011
4 answers
193 views
Hi friends,
I have used RadGrid with id="gvWeblunchMenuItems" in a webpage.In this i have implemented gridTemplate column as follows,

<telerik:GridTemplateColumn AllowFiltering="False" ShowFilterIcon="False" HeaderText="Edit Assigned Schools"   UniqueName="TemplateColumn1" FilterControlWidth="30px">
<ItemTemplate>
   <telerik:RadComboBox ID="rcschools" runat="server" Height="150px" Width="150px" DropDownWidth="200px"            Text=" -  Select Schools - " HighlightTemplatedItems="true"  MarkFirstMatch="true"
EnableLoadOnDemand="true" Visible="true" OnClientFocus="OnFocus" EnableViewState="true"  ToolTip="Create" EmptyMessage="select" OnClientDropDownClosing="">
      <ItemTemplate>
            <table width="150px" border="0" cellspacing="1" cellpadding="0">
                 <tr>
                      <td align="left" width="50px"><asp:CheckBox runat="server" ID="chk1" Checked="false" /></td>
                      <td align="left" width="150px"><asp:Label ID="lblSchoolname" runat="server" Text='<%#Eval("SchoolName")%>'></asp:Label>
                        <asp:HiddenField ID="hdAvailableSchoolID" runat="server" Value='<%#Eval("Id") %>' /></td>
                 </tr>
               </table>
       </ItemTemplate>
       <FooterTemplate>
            <center><asp:ImageButton ID="imgbtnAssign" ImageUrl="~/image/save_btn.gif"  runat="server" OnClick="imgbtnAssign_click" /></center>
       </FooterTemplate>
            </telerik:RadComboBox>
</ItemTemplate>
</telerik:GridTemplateColumn>


in the above when i click on imgbtnAssign( imagebutton in footer template) i am getting AjaxLoading panel.
Ajax setting i have written are....

  <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default">
    </telerik:RadAjaxLoadingPanel>
    <telerik:RadAjaxManager ID="RadAjaxManager1" DefaultLoadingPanelID="RadAjaxLoadingPanel1"
        runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="gvWeblunchMenuItems">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="gvWeblunchMenuItems" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="imgbtnAssign">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="gvWeblunchMenuItems" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

here my problem is, i am getting loading panel only  once when i click  on imagebutton in footer template .On next time i am not getting..

i don't know why its like that...

plese help me..

Thaks & Regards
Anwar
Anwar
Top achievements
Rank 2
 answered on 18 Nov 2011
3 answers
201 views

Are using the

<script type='text/javascript'>
Telerik.Web.UI.RadAsyncUpload.Modules.Flash.isAvailable = function () { return false; }
</script>
, but since our AsyncUpload is dynamically made visible or not we get an errormessage when its not visible:

Error: Unable to get value of the property 'Modules': object is null or undefined

Isn't there a global setting we can use that disables it without getting the js-error. That would save us from dynamically adding this script depending on whether the asyncupload is visible or not on a lot of pages?
Helen
Telerik team
 answered on 18 Nov 2011
1 answer
107 views
I am having a GridTemplateColumn with a checkbox that is  being dynamically created. I  need to have this checkbox with an ability to AUTOPOSTBACK but the autopostback event never seems to fire. The browser does not fire the event consistently and also even when it fires the event handler is never reached.

Looks like it is a bug in Telerik RadGrid as this post http://www.telerik.com/community/forums/aspnet-ajax/grid/grid-with-dynamic-columns-gridtemplatecolumn-dynamic-control-events-not-firing.aspx shows.

Is there a workaround or fix for the same?
Jayesh Goyani
Top achievements
Rank 2
 answered on 18 Nov 2011
2 answers
113 views
when using ie9 compatibility mode or ie7 with version

2011.2.915.35,

 the select buttons of the initially hidden file upload dialog are displayed under the
file explorer. it works properly with ie9 standatd and ie8.
i can reproduce the issue also with your online demo
http://demos.telerik.com/aspnet-ajax/fileexplorer/examples/default/defaultcs.aspx

some similar effects happen with other controls too:
 when using nested splitters and radwindows sometimes buttons are not displayed in compatibility mode
sometimes they are only displayed when using compatibility mode, but its hard to reproduce the behaviour because
it changed with every last release.
Peter
Top achievements
Rank 1
 answered on 18 Nov 2011
3 answers
96 views
Hi,

regarding this topic I just found 3 year old threads, so maybe this feature was implemented in the meantime:

I need to have nodes which have more than one icon: I need icons which do a postback the same way as the context menu items can do this. As far as I know I can achieve this by using NodeTemplates.

But I use ExpandMode="Webservice", and three years ago this wasn't possible.
Is it possible to achieve the things I want with the current version?

Regards,
JP
Plamen
Telerik team
 answered on 18 Nov 2011
1 answer
84 views
Hello,

In my application i have one radgrid. By using this below code I am binding my grid

 

 

<telerik:GridTemplateColumn HeaderText="Roles" UniqueName="Roles" AllowFiltering="true">

 

<ItemTemplate>

<asp:Label runat="server" ID="lblRoles"></asp:Label>

</ItemTemplate>

</telerik:GridTemplateColumn>

and using the below code I am getting values to the labels
protected void uiUserRoles_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)

{

if (e.Item is GridDataItem)
{

GridDataItem item = (GridDataItem)e.Item;

AcsAuthorizationProvider.Entities.ApUser apUser = e.Item.DataItem as AcsAuthorizationProvider.Entities.ApUser;

if (apUser != null && !string.IsNullOrWhiteSpace(apUser.UserName))

{

Label lblRoles = (Label)e.Item.FindControl("lblRoles");

if (lblRoles != null)

{

AcsRoleProvider acsRoleProvider = new AcsRoleProvider();

string[] roles = acsRoleProvider.GetRolesForUser(apUser.UserName);

 

lblRoles.Text = string.Join(", ", roles);

 

}

}

}

 

}



now I want to apply the filter for the roles column of radgrid.Please help to do that.

Thanks
Pallavi
Pavlina
Telerik team
 answered on 18 Nov 2011
1 answer
155 views
Hi all.
I've an issue with the radgrid and the radajaxloadingpanel.
In the grid i've not specified any value into the "Height" attribute and i've enabled the paging. So, when i click on the last page of the grid, in which i've few rows, the loadingpanel reamins with its height, but the grid moves up. So the loadingpanel is rendered outside the grid pane.
You can view the effect in the image below.
To remove this issue, i've to set a specific height in the grid, but this is not my intention.
There's any way to resolve this issue?
Thanks in advance.
Pavlina
Telerik team
 answered on 18 Nov 2011
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?