Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
98 views
Hello,

For the RadEditor > Table Wizard > Accessibility tab - could you please explain what the 'Associate cells with headers' checkbox actually does? I've been unable to find any documentation explaining the purpose of the checkbox and have a client asking about it.

Thank you for your help,

David
Dobromir
Telerik team
 answered on 18 May 2010
2 answers
361 views
Hi there,

I am showing and hiding some RadGrid columns from Java script (using columns' set_visible() method) and that works perfectly as long as no client-side data binding is involved. Say I have called the set_visible(false) method for a column once (before or after data-binding). When I call set_visible(true) it shows up... but gets hidden as soon as the table view's dataBind() method is called.

See the markup below:
  1. Click the "Hide A" button and the column gets hidden;
  2. Then click the "Show A" button and the column... stays hidden;
If you remove the rebindGrid() call from the setColumnVisibility() function everything works fine.



    <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="false"
        <MasterTableView> 
            <Columns> 
                <telerik:GridBoundColumn UniqueName="ID" DataField="ID" HeaderText="ID" /> 
                <telerik:GridBoundColumn UniqueName="A" DataField="A" HeaderText="A" /> 
            </Columns> 
        </MasterTableView> 
    </telerik:RadGrid> 
    <asp:LinkButton ID="BtnShowA" runat="server" Text="Show A" OnClientClick="return setColumnVisibility('A', true)" /> 
    &nbsp;/&nbsp; 
    <asp:LinkButton ID="BtnHideA" runat="server" Text="Hide A" OnClientClick="return setColumnVisibility('A', false)" /> 
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"
        <script language="javascript" type="text/javascript"
            function rebindGrid() { 
                var dataItems = []; 
                for (var i = 0; i < 10; i++) 
                    Array.add(dataItems, { ID: i, A: 'A ' + i }); 
                var masterTableView = $find('<%= RadGrid1.ClientID %>').get_masterTableView(); 
                masterTableView.set_dataSource(dataItems); 
                masterTableView.dataBind(); 
            } 
            function setColumnVisibility(uniqueName, state) { 
                var masterTableView = $find('<%= RadGrid1.ClientID %>').get_masterTableView(); 
                var column = masterTableView.getColumnByUniqueName(uniqueName); 
                column.set_visible(state); 
                rebindGrid(); 
                return false; 
            } 
            Sys.Application.add_load(function () { rebindGrid(); }); 
        </script> 
    </telerik:RadCodeBlock> 
 

Best regards,
V.

Valery
Top achievements
Rank 2
 answered on 18 May 2010
2 answers
95 views
I have a grid with a Windows7 skin. I can't get the selected row class to become effective.

Thanks
Thomas
Dimo
Telerik team
 answered on 18 May 2010
1 answer
101 views
Is there any reason why the extra input elements (automatically added) on a simple textbox has the rather long style "visibility:hidden; margin:-18px; ...." when a simple "display:none" would to the trick? The problem is, that "visibility:hidden" will cause the browser to layout - and in my case create some funky forms in some browsers - where "display:none" will not cause layout.. And if the input is never used for display (is it?), why not input:hidden just then.. Css: ".rdfd_ { display: none; }" hacks this for now..

And why are there added 3 extra form fields for one textbox field - what are they used for? Seems rather hefty...

/Anders
Dimo
Telerik team
 answered on 18 May 2010
2 answers
180 views
I am getting  "Radspell error. Server returned error:500" internal server error.

I have attached a screenshot of the message.

I am getting this message only on the production environment but not the Test or Development .

Please help.

Regards.

Rumen
Telerik team
 answered on 18 May 2010
1 answer
123 views
Hi, I have the following error.
I  am customizing the RadScheduler control and am now at the part where I need to read a recurrence string and transform this in a recurre nce using recurrencepatternhelper and then using the patternhelper to set the appropriatye controls on my custom appointment radwindow.

When I try using
        Dim serializedPattern As String = "FREQ=DAILY;COUNT=10;INTERVAL=3;BYDAY=MO,TU,WE,TH,FR"
        Dim pattern As RecurrencePattern
        RecurrencePatternHelper.TryParseRecurrencePattern(serializedPattern, pattern)

I get the error saying that I sould have system.component model version 2.0.5.0 to be able to use RecurrencePatternHelper.

I have included the Telerik.Windows.Controls.Scheduler.ICalendar namespace and the System.ComponentModel namespace and am also implementing the INotifyPropertyChanged interface in the class.

Any idea what I am doing wrong and how I can solve this error. Thank you!



Swadesh Brojolall
Top achievements
Rank 1
 answered on 18 May 2010
3 answers
109 views
Hello Telerik Team,

I have an issue with RadEditor spell check icon. Look at, attached screen shot(Highlighted in yellow). I do not use any css class or anything. Can you help?

My code is like below...

  <rad:RadEditor runat="server" Width="590px" Height="375px" ID="VariableValueEditor"
                 
            </rad:RadEditor> 

void AddToolBarToEditor() 
        { 
            EditorToolGroup mainGroup = new EditorToolGroup(); 
 
            mainGroup.Tools.Add( new EditorTool( "Cut""CTRL+X" ) ); 
            mainGroup.Tools.Add( new EditorTool( "Copy""CTRL+C" ) ); 
            mainGroup.Tools.Add( new EditorTool( "Paste""CTRL+P" ) ); 
 
            mainGroup.Tools.Add( new EditorSeparator() ); 
 
            mainGroup.Tools.Add( new EditorTool( "Bold""CTRL+B" ) ); 
            mainGroup.Tools.Add( new EditorTool( "Underline""CTRL+U" ) ); 
            mainGroup.Tools.Add( new EditorTool( "Italic""CTRL+I" ) ); 
 
            mainGroup.Tools.Add( new EditorSeparator() ); 
 
            mainGroup.Tools.Add( new EditorTool( "PasteFromWordNoFontsNoSizes" ) ); 
            mainGroup.Tools.Add( new EditorTool( "Superscript" ) ); 
            mainGroup.Tools.Add( new EditorTool( "Subscript" ) ); 
 
            mainGroup.Tools.Add( new EditorSeparator() ); 
 
            EditorTool spellCheckEditorTool = new EditorTool( "SpellCheck""F7" ); 
            mainGroup.Tools.Add( spellCheckEditorTool ); 
 
            VariableValueEditor.StripFormattingOptions = EditorStripFormattingOptions.Span | EditorStripFormattingOptions.MSWordRemoveAll | EditorStripFormattingOptions.Css; 
 
            AddSpecialCharacterButtonToToolBar( mainGroup ); 
 
            VariableValueEditor.Tools.Add( mainGroup ); 
        } 

Thanks

Venki
Rumen
Telerik team
 answered on 18 May 2010
1 answer
102 views
var tempResult = from contents in scope.Extent<ORM.Content>()
                         join movie in scope.Extent<ORM.Moviedetail>()
                         on contents.RelatedId equals movie.MovieId into gj from x in gj.DefaultIfEmpty( new { contents.Contenttype.Name = "Movie Photo" })
                         select new{ contents,movie};




       We have Error in bold text.


       plz Reply as soon as possible.

      Thank you.
Zoran
Telerik team
 answered on 18 May 2010
2 answers
117 views
Good Day All

i have two example appointment on the RadShedule , one is from 8:00 to  8:30 and the other is at 8:30 to 9:00 and in the db is like this

Appointment 1


STARTDATE = '2009-06-17 08:00:31.000', ENDDATE = '2009-06-17 08:30:31.000'




Appointment 2


STARTDATE = '2009-06-17 08:30:31.000', ENDDATE = '2009-06-17 09:00:31.000'

These appointments appear like this in the Viewer

http://www.vuyiswamaseko.com/images/Overlaps.JPG

as you can see the First appointment ends at 8:30 but it fills the whole space , and the starting point of the second appointment is correct, but the end point of the second appointment overlaps to the 9:00 , of which it supposed to end at 9:00

Can you please help me with this.


Vuyiswa
Top achievements
Rank 2
 answered on 18 May 2010
5 answers
149 views
Hello Support,

We have been using Telerik  binaries of version 2008.3.1314.20 and recently decided to upgradde to 2009.3.1314.35. As soon as we copy Telerik.Web.Design and Telerik.Web.UI as new reference, we start getting Security EXception error. I have no clue, what is causing it. Please advice !

Thank you,
Daniel
Telerik team
 answered on 18 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?