Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
141 views
I am trying something very basic, namely to toggle the visibility of a column based on a selection from a dropdown. My simple test code is below. The problem I have is that making the column disappear (when the WEBVALIDATION dropdown value is selected) works fine and the colMainName does disappear. However, when I select the DEFAULT dropdown value the column does not re-appear. I stepped through this and the line where I set the visibility to true is called. Any thoughts?

 

if (e.Value.ToUpper() == "DEFAULT")

 

{

gv.MasterTableView.GetColumn(

"colMainName").Visible = true;

 

}

 

if (e.Value.ToUpper() == "WEBVALIDATION")

 

{

gv.MasterTableView.GetColumn(

"colMainName").Visible = false;

 

}

Thanks.

Mark

Dimo
Telerik team
 answered on 29 Apr 2010
2 answers
102 views
Hello

We are using the raddock with a custom header template and it seems that the rounded corners image is being repeated at the bottom of the header.

The markup for the page is as follows:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Docks.aspx.cs" Inherits="TelerikClientSide.Docks" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head runat="server">  
    <title></title>  
</head> 
    <body style="margin:0px;height:100%;overflow:hidden;">  
        <form id="Form2" method="post" runat="server" style="height:100%;margin:0px" > 
            <telerik:RadScriptManager ID="ScriptManager1" runat="server" /> 
 
            <asp:Panel ID="HeaderPanel" runat="server" Width="100%">  
                <table cellpadding="0" cellspacing="0" width="100%">  
                    <tr> 
                        <td> 
                            Header here  
                        </td> 
                    </tr> 
                </table> 
                  
            </asp:Panel> 
              
            <telerik:RadSplitter ID="MainSplitter" runat="server" Height="100%" Width="100%" HeightOffset="100">  
                <telerik:RadPane ID="NavigationPane" runat="server" Width="275px" MaxWidth="500" Scrolling="None">  
                    <telerik:RadDockZone ID="dockZoneLeftSideBar" runat="server" Orientation="Vertical"  Height="100%">    
                        <telerik:RadDock ID="RadDock5" runat="server" EnableRoundedCorners="true" Title="Navigation" DockMode="Docked" Width="200px" DefaultCommands="None">    
                            <TitlebarTemplate> 
                                <table width="100%" cellpadding="0" cellspacing="0" border="0">  
                                    <tr> 
                                        <td style="font-size:10pt; font-family:Arial">Navigation</td> 
                                        <td align="right" style="cursor:default">  
                                            <img src="../images/add.png" /> 
                                            <img src="../images/printer.png" /> 
                                            <img src="../images/disk.png" /> 
                                            <img src="../images/rename.png" /> 
                                        </td> 
                                    </tr> 
                                </table> 
                            </TitlebarTemplate> 
                          
                            <ContentTemplate> 
                                <div id="divNavigationLoading" style="width:100%; text-align:center;">  
                                    Loading...  
                                </div> 
                            </ContentTemplate> 
                        </telerik:RadDock> 
                    </telerik:RadDockZone> 
 
                </telerik:RadPane> 
                  
                <telerik:RadSplitBar ID="NavigationContentSplitBar" runat="server" CollapseMode="Forward" /> 
                <telerik:RadPane ID="RadPane1" runat="server">  
                    Content Here                  
                </telerik:RadPane> 
            </telerik:RadSplitter> 
              
            <telerik:RadSplitter id="Radsplitter6" runat="server" orientation="Horizontal" Width="100%" Height="40">  
                <telerik:RadPane id="Radpane11" runat="server">   
                    Footer Here  
                </telerik:RadPane> 
            </telerik:RadSplitter> 
 
    </form> 
</body> 
</html> 
 

Probably very easy to fix this, any suggestions?
Michael Pullella
Top achievements
Rank 1
 answered on 29 Apr 2010
3 answers
162 views
Hi,

I am new to RADScheduling, infact new to use scheduler control.
I have a requirement that a user can schedule a meeting.

My requirements.
1) On clicking Schedule a Meeting button in a form opens the Scheduler page as a modal popup.
For this, I am in need of using a user control to show the Schedule a meeting popup.
2) On clicking on submit after entering all required fields, the RADScheduler will be displayed.
3) The user can edit or delete the scheduled meeting.
4) On editing, edit a schedule popup needs to be opened as Modal popup.
5) On clicking update, the same needs to be reflected in the scheduler.

Has anyone experienced same kind of scenario. If yes, Kindly suggest a solution.
How can I show a user control or other page when scheduling and editing a schedule?

Thanks in Advance,

Regards,
Vinoth.K
Vinoth K
Top achievements
Rank 1
 answered on 29 Apr 2010
4 answers
84 views
I'm having a grid issue. I'm not sure what started to cause it. I know it wasn't behaving this way until recently it was introduced somehow.
I'm wondering if anyone else has seen symptoms like this.

So,
I have this simple grid. 

<telerik:RadGrid runat="server" ID="grider" Skin="Office2007" AutoGenerateColumns="false" AllowMultiRowSelection="true" Width="300" height="100" > 
      <MasterTableView runat="server" ClientDataKeyNames="DataPointId,IsEnabled, HasMultiple"  ShowHeader="false" TableLayout="Fixed"> 
        <NoRecordsTemplate> 
           <asp:Localize ID="Localize3" runat="server" Text="<%$ Resources:Resource, NO_AVAILABLE_ALERTS %>" />
</NoRecordsTemplate> 
        <Columns> 
           <telerik:GridBoundColumn UniqueName="Display" DataField="Display" HeaderText="<%$ Resources:Resource, DISPLAY %>" /> 
        </Columns> 
      </MasterTableView> 
      <ClientSettings AllowKeyboardNavigation="True" EnableRowHoverStyle="true"> 
           <Scrolling UseStaticHeaders="true" AllowScroll="true" /> 
           <Selecting AllowRowSelect="true" /> 
           <ClientEvents OnRowDataBound="RowDataBound" OnRowCreated="RowCreated" OnRowSelected="GridAddRowSelected" OnRowSelecting="RowSelecting" OnRowDeselected="GridAddRowDeselected"/> 
       </ClientSettings> 
</telerik:RadGrid> 

It's sitting inside a div structure a few layers deep.
I use it to change the UI based on a page mode.

If I hide the parent div in javascript like so  $get('divParent').style.display = 'none';
in order to display other controls
the grid doesn't hide. it just floats above the other controls that are now visible

this is only in IE. might anyone know why this is happening?

regards


Dimo
Telerik team
 answered on 29 Apr 2010
0 answers
70 views
Hi:
I need your help and advice.
I am using a radscheduler which I have customized to work with a radwindow for appointments. I am stuck on the part where I need to decrypt the recurrence rule and set the appropriate controls in the radwindow..e.g. if hourly, then set the interval and the range...

Please refer me any thread or materials that I can use.

Thank you!
swad
Swadesh Brojolall
Top achievements
Rank 1
 asked on 29 Apr 2010
7 answers
225 views
Is there a way to allow users to delete files but prevent them from deleting folders in the imagemanager?

thanks
Fiko
Telerik team
 answered on 29 Apr 2010
2 answers
136 views
I have a rather complex page  - child of a master page, 10 multi page views with a tab strip style menu over the top (with sub menu options). I noticed that one RadGrid with skin="Web20" or "WebBlue" no loger has its skin applied in IE6 or IE8. It is applied in FF and Safari. On a previous build it also is applied for IE but I've been though the changes between builds and can't pinpoint where the cause may lie. Other controls on the same page view (e.g. Tab Strip) do have the skins applied.
The IE developer tools do not show any reference to WebResource.axd styles for the grid elements whereas they do appear in FF.
Anybody have any ideas on how to investigate this?
Mark
Top achievements
Rank 2
 answered on 29 Apr 2010
1 answer
128 views
Hi,

I would like to remove the grabber in the appointment.
But i need the appointment to be editable by drag and edit only using the form.

is there a css or an option to remove this?

Thanks,
Bermo
Shinu
Top achievements
Rank 2
 answered on 29 Apr 2010
1 answer
117 views
Hello,
I wanted to know if it is possible to get a build or version of RadControls that does not emit Telerik in the page source when user's view the source code.

Telerik.Web.UI.RadTreeView
WebForm_InitCallback();Sys.Application.add_init(function() {  
    $create(Telerik.Web.UI.RadTreeView, ... 
Kiara
Top achievements
Rank 1
 answered on 29 Apr 2010
1 answer
66 views
Hi,

I currently have 7 items in my legend (see attached file) and I would like to display them in 2 columns:

ex:
-------------------------------------
|   legend1             legend4
|   legend2             legend5
|   legend3             legend6
|                             legend7
--------------------------------------
Is this easily doable with the RadChart control?

Thanks!

Marc

<Legend Visible="true">           
                    <Appearance Position-AlignedPosition="TopLeft" Location="OutsidePlotArea">                             
                    </Appearance> 
</Legend> 

Ves
Telerik team
 answered on 29 Apr 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?