Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
202 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
216 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
113 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
126 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
101 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
98 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
161 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
0 answers
132 views
I am facing a problem with RadComboBox with mobile .
In Mobile the RadComboBox Scroll will not displayed


Requirements

RadControls version
.NET version . 4.0
Visual Studio 2010  version 
programming C# language
browser support

all browsers supported by RadControls


PROJECT DESCRIPTION
[enter description here, together with step-by-step instructions on how to use the project]
ashish
Top achievements
Rank 1
 asked on 18 Nov 2011
5 answers
111 views
Q1: Is it possible to create a RadWindow from scratch client-side? That is to say, is there a client-side constructor that I can invoke?

Q2: If I've closed a window with DestroyOnClose = true, is it possible to gain access to the settings used in the mark-up to reconfigure the window if I need to reopen it?

-- 
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 18 Nov 2011
2 answers
94 views
Hello,

 When i click on column header of the radcalendar it selects all the days of week for that month, ie. When i click on 'W' then it selects all the Wednesdays for that month. But what i want is when i click on 'W' then it should select all the Wednesdays for an entire date range (range i have set using rangemindate and rangemaxdate span across 10 months) after asking a confirmation. Can you please advice on how to do it.

thanks
John Sagayanathan
Maria Ilieva
Telerik team
 answered on 18 Nov 2011
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?