Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
269 views

When I try to apply AutoPostBackOnFilter="true" inside GridCheckBoxColumn with Telerik Grid it not filter when I change filter value.

And also I notice that it always include checkbox filter value when I change other column’s filter value.

 

Ex.

ContactPerson  City                      Country                IsMainAddress?

Dharmesh           Rajkot                   India                      True

Vishal                  Connecticut          USA                       False

Vimal                   Baroda                 India                      True

 

 

           (1)    AutoPostBackOnFilter not works with GridCheckBoxColumn, here my last column IsMainAddress is GridCheckBoxColumn.

           (2)   When I try to filter ContactPerson with “Vi” and apply Contains filter it displays only “Vishal, Connecticut, USA, False”    

                 because it added “IsMainAddress?” column’s default fitter value False that should not be.


           It should be display “Vishal” and “Vimal” records, this work well other then CheckBoxColumn value. I hope this can be solving 

          using some differemt method.

Johny
Top achievements
Rank 1
 answered on 15 Oct 2009
3 answers
135 views
Hello,

how can I add additional scriptDescriptors and scriptReferences to a RadTextBox control?

This doesn't work:

 

 

 

 

protected override IEnumerable<ScriptReference> GetScriptReferences()     
{  
IEnumerable<ScriptReference> baseSR = base.GetScriptReferences();   
 
List<ScriptReference> mySR = baseSR as List<ScriptReference>;   
mySR.Add(new ScriptReference("MyClientScript.js"));     
 
return mySR as IEnumerable<ScriptReference>;   
}  
    
protected override IEnumerable<ScriptDescriptor> GetScriptDescriptors()   
{  
IEnumerable<ScriptDescriptor> baseSD= base.GetScriptDescriptors();   
 
List<ScriptDescriptor> mySD= baseSD as List<ScriptDescriptor>;  
....  
....  
 
mySD.Add(desc);  
 
return mySD as IEnumerable<ScriptDescriptor>;   
}  
 



I get the error: this.get_styles().EnabledStyle
best regards

 

 

 

 

lemon 

 

 

 

 

 

 

 

Nikolay Rusev
Telerik team
 answered on 15 Oct 2009
1 answer
98 views
Hello,

Is it possible to set the parent node checkable property to false if there are child nodes while the child nodes remain checkable.  In other words if a parent has children, the parent is not checkable; otherwise the parent is checkable if it has no children.  I have tried to do this under page_prerender after the radtree is databound but with no luck on the syntax.  Any help would be greatly appreciated.  We are working in .net using vb.

Thanks
Jason
Top achievements
Rank 1
 answered on 15 Oct 2009
1 answer
148 views
I am trying to use the NodeCheck on the RadTreeView control, version 2009.2.701.20.  The Nodecheck does not fire the server side event, I have other events being fired on the server but not the NodeCheck.  Here is a code snippet :

 <rad:RadTreeView ID="rtvOrganisationStructure" runat="server" ExpandDelay="10" Skin="Office2007"
        AllowNodeEditing="true" DragAndDrop="true" MultipleSelect="true"
        CheckBoxes="true"
        OnNodeEdit="rtvOrganisationStructure_OnNodeEdit"
        OnNodeContextClick="rtvOrganisationStructure_OnNodeContextClick"
        OnNodeDrop="rtvOrganisationStructure_OnNodeDrop"
        OnNodeCheck="rtvOrganisationStructure_OnNodeCheck"
        >
     </rad:RadTreeView>

&lt;rad:RadTreeView ID="rtvOrganisationStructure" runat="server" ExpandDelay="10" Skin="Office2007"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AllowNodeEditing="true" DragAndDrop="true" MultipleSelect="true" <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CheckBoxes="true"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OnNodeEdit="rtvOrganisationStructure_OnNodeEdit"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OnNodeContextClick="rtvOrganisationStructure_OnNodeContextClick"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OnNodeDrop="rtvOrganisationStructure_OnNodeDrop"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>OnNodeCheck="rtvOrganisationStructure_OnNodeCheck"</b>&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;/rad:RadTreeView&gt; 


The only event that does not work is the OnNodeCheck.  Does the scriptManager need to be on the page?  I do not have the scriptManager on the page but all the other events still fire.

I am doing this with c# and asp.net (3.5)
Veselin Vasilev
Telerik team
 answered on 15 Oct 2009
2 answers
108 views
Hi!

I have a problem with borders for selected cells in RadGrid. Using firefox 3.0.14, if I ctrl-click a cell in the radgrid I get a blue border around the cell (and any subsequent ctrl-clicked cells). Setting the border style of the cell doesn't help as the blue border is on top of the actual cell border. If I use Internet Explorer these borders doesn't show up.

Is there a way of removing this blue border?

The behaviour can be observed in your grid demos aswell, e.g your outlook grid demo:
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/webmail/defaultcs.aspx

Regards

/David
David G
Top achievements
Rank 1
 answered on 15 Oct 2009
1 answer
207 views
I want to verify that what I am reading is correct: in order to use a custom skin, I need to create a class library, add references to all my files, create a webresource, the register it with RadStylesheetManager.

Is this correct? Is there no way to work with just the css files in the skins folder? I work within a dynamic program, so there really is no where to "drag file to page to register" and I have about 40 themes to port over. If possible, I'd like to just create my skins, update my files and deploy.
Veselin Vasilev
Telerik team
 answered on 15 Oct 2009
1 answer
85 views
How can I show timeline view with start time and end time in horizontal, instead of dates.

Thanks
Peter
Telerik team
 answered on 15 Oct 2009
3 answers
653 views
I am getting a null value back when tried the following code:

                 <RadCodeBlock runat="server" ID="radCodeBlock">
       <script type="text/javascript">
                         function RadGridCommand(sender, args) {
  
               if (args.get_commandName() == "Update") {
  
                   alert(sender.get_masterTableView().get_dataItems()[0].getDataKeyValue("datamember"));
                  
               }
          }
                
                
                 </script>
                 </gsm:RadCodeBlock>
                
                 <gsm:RadGrid runat="server"
                        AutoGenerateColumns="false" ID="RadGrid1" 
                        AllowFilteringByColumn="false" AllowSorting="true"
                        AllowPaging="true"
                        AlternatingItemStyle-BackColor = "White"
                        PageSize="10"
                        ShowStatusBar="true"
                        CellPadding="0" CellSpacing="0" Visible="false">
                   <PagerStyle Mode="NextPrevAndNumeric"  />
                   <GroupingSettings CaseSensitive="false" />
                   <MasterTableView AutoGenerateColumns="false"
                                    AllowFilteringByColumn="false"
                                    EditMode="InPlace"
                                    TableLayout="Auto"
                                    DataKeyNames="ID" CommandItemDisplay="Top"  >
                        <Columns >
                            <gsm:GridBoundColumn   ItemStyle-HorizontalAlign="Center" FilterControlWidth="100%" DataField="datamember" HeaderText="datamember" SortExpression="MemberPair" UniqueName="datamember" AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false">
                                <ItemStyle Width="20%"   Font-Names="tahoma,helvetica" Font-Size="10px" HorizontalAlign="Justify"/>
                                <HeaderStyle Width="20%" Font-Names="tahoma,helvetica" Font-Size="10px" HorizontalAlign="Justify" />
                            </gsm:GridBoundColumn>
                        </Columns>
                   </MasterTableView>
                    <ClientSettings>
                        <Scrolling AllowScroll="true"  UseStaticHeaders="true"/>                       
                        <ClientEvents OnRowDblClick="RowDblClick" />  
                        <ClientEvents OnCommand="RadGridCommand" />                     
                    </ClientSettings>                                                         
                 </gsm:RadGrid>
Princy
Top achievements
Rank 2
 answered on 15 Oct 2009
1 answer
145 views
I have used RadDatePicker in my C# project ..... i am showing the date of the  booked appointment with specific color. Now the problem is that this RadDatePicker is loaded in the Page Load event which causes a long time to load the page [due to DayRenderEvent].......... i want to Load the Calender on its  DatePopupButton-Image .... Please give me a proper solution for this..... thank you.
Sebastian
Telerik team
 answered on 15 Oct 2009
2 answers
91 views
Hello all,

We have an application that uses Telerik controls which works perfectly, however  every time we change to another option page before the previous one has been fully uploaded, we got this message (this is done from menu options):

this._loadingPanelsToHide.length is null or not an object

and when we accept to debug it, it points to this line:
$create(Telerik.Web.UI.RadAjaxManager, {"_updatePanels":"","ajaxSettings":[{InitControlID : "pnImportBatch",UpdatedControls : [{ControlID:"pnImportBatch",PanelID:"rlpImportBatch"}]}],"clientEvents":{OnRequestStart:"",OnResponseEnd:""},"defaultLoadingPanelID":"","enableAJAX":true,"enableHistory":false,"links":[],"styles":[],"uniqueID":"ramImportBatch","updatePanelsRenderMode":0}, null, null, $get("ramImportBatch"));

How can we prevent this error message to appear ?

Regards

Sebastian
Telerik team
 answered on 15 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?