Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
90 views
Is there a way to fix the different column width size when viewing the grid in ie7 and ie8

regards,

Pablo.
Dimo
Telerik team
 answered on 30 Nov 2009
3 answers
317 views
I am currently launching a RadWindow from my grid when I click a row like so:
GRID:
<ClientSettings AllowDragToGroup="True" EnablePostBackOnRowClick="False"  
            EnableRowHoverStyle="True" ClientEvents-OnRowClick="RowClick"
            <ClientEvents OnRowClick="RowClick" /> 
        </ClientSettings> 

function RowClick(sender, eventArgs) { 
                    window.radopen("report_details.aspx?zipcode=" + eventArgs.getDataKeyValue("ZIPCode"), "UserListDialog"); 
                } 

But I also need to pass 3 other values from my page that are not part of the grid, two dates from RadDatePicker controls and a Numeric Textbox.  I tried to get them from the RadWindow page load like so:
Dim obj_startDate As RadDatePicker = Parent.FindControl("txt_start_date"
        Dim obj_endDate As RadDatePicker = Parent.FindControl("txt_end_date"
        Dim obj_Radius As RadNumericTextBox = Parent.FindControl("txt_Radius"
 
Dim startDate As Date = obj_startDate.SelectedDate 
        Dim endDate As Date = obj_endDate.SelectedDate 
        Dim Radius As Decimal = obj_Radius.Text 

But that doesn't work....  What am I missing here?
 answered on 30 Nov 2009
1 answer
77 views
Hi guys. I'm using q2 version now. In q3 you made a tremendous change in appearance of calendar popup.
I just entered your example at http://demos.telerik.com/aspnet-ajax/calendar/examples/datepicker/custompopup/defaultcs.aspx and made a screenshot. To me it looks awful and not usable. I suppose it is a huge bug in this release and it shoud be fixed as soon as possible.

Dimo
Telerik team
 answered on 30 Nov 2009
3 answers
220 views
Hi
I am using the editor in the popup edit mode of a grid, which itself is using Default skin.
Thus the background color of the Editor box in Design mode is grey. 

How can I overule this default bg and make it white?

Thanks

Clive
Rumen
Telerik team
 answered on 30 Nov 2009
1 answer
248 views
Hi,
   I have a RadGrid with a combobox column with filter (see below). However I wish to set the datasource of the combobox with a specific
parameter, so that I can use the same datasource for different columns in the grid with different parameters

Say that the Datasource is  as sqldatasource called sql_baselines and the parameter is day_id how do I set the datasource
for day_id = 1

Thanks in advance

Robert

</telerik:GridBoundColumn>
        <telerik:GridDropDownColumn  FilterControlWidth="250px"
        DataField = "monday" DataSourceID="sql_baselines_monday"
            HeaderText="monday" ListTextField="shift" ListValueField="BaseLineId"
            UniqueName="monday" ColumnEditorID="DropDownColumnEditor1">
           
             <HeaderStyle Width="160px" />
              <FilterTemplate>
                            <telerik:RadComboBox ID="RadComboBoxDayDate" DataSourceID="sql_baselines_monday" DataTextField="shift"
                                DataValueField="BaselineId"  AppendDataBoundItems="true"
                              SelectedValue='<%#  ((GridItem)Container).OwnerTableView.GetColumn("monday").CurrentFilterValue %>'
                              
                                runat="server" OnClientSelectedIndexChanged="DayDateIndexChanged">
                                <Items>
                                    <telerik:RadComboBoxItem Text="All" />
                                </Items>
                            </telerik:RadComboBox>
                            <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
                                <script type="text/javascript">
                                    function DayDateIndexChanged(sender, args) {
                                        var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
                                        tableView.filter("monday", args.get_item().get_value(), "EqualTo");
                                    }
                                </script>

                            </telerik:RadScriptBlock>
                        </FilterTemplate>
        </telerik:GridDropDownColumn>
Yavor
Telerik team
 answered on 30 Nov 2009
2 answers
384 views
hi

How do i disable hyperlink bases on Yes and No condition? Thanks

<telerik:GridHyperLinkColumn HeaderText="Demo" Text="Demo"
            UniqueName="Demo" DataNavigateUrlFields="Demo_ID" 
            DataNavigateUrlFormatString="~/demo/demo.aspx?demo_id={0}">
</telerik:GridHyperLinkColumn>
 answered on 30 Nov 2009
2 answers
232 views
Hi All,

I have a RadGrid with 10 columns, but in EditForm mode i am showing only 6 fields to update.

to show these 6 fields in two columns, i wrote below

<EditFormSettings ColumnNumber="2" CaptionDataField="Period" CaptionFormatString="Edit properties of Period {0}">

but still all the fields are showing in single colum.

Please help me regarding this.


pradeep k
Top achievements
Rank 1
 answered on 30 Nov 2009
2 answers
190 views
Hi
How to add imageurl from datatable to treeview control.
I have tried which the sample u given
http://www.telerik.com/help/aspnet/treeview/tree_nodebound.html

protected void HandleNodeBound(object sender, RadTreeNodeEventArgs NodeEventArgs)  
   {  
       DataRowView dataSourceRow = (DataRowView)e.NodeBound.DataItem;  
       e.NodeBound.Image = dataSourceRow["Image"].ToString();  
       ...  
   }  
 
 <rad:RadTreeView  
       ID="RadTree1" 
       runat="server"        ...  
       OnNodeBound="HandleNodeBound"/> 
But this OnNode Event is not firing.
I dAtatable I have imageURL columun.
Every node i hve Separate image.
How to achieve this

pasam Anna
Top achievements
Rank 1
 answered on 30 Nov 2009
1 answer
170 views
Hi,

I have a query regarding RADSlider, with the following control :

 

<telerik:RadSlider ID="SliderLivingArea" runat="server" Height="22px"

 

 

IsSelectionRangeEnabled="True" ItemType="Tick" LargeChange="10"

 

 

MaximumValue="50" MinimumValue="10" SelectionEnd="50" Skin="Black"

 

 

SlideStep="5" TrackPosition="TopLeft" Width="200px" >

 

 

</telerik:RadSlider>

Now in the scenario, where I need to access Minimum Value and Maximum Value ( Once the user changes the default minimum Value and Maximum Value to apply his own filters).

I am not able to fetch the user SelectionStart(which will be the new Minimum Value) and SelectionEnd (which will be new Maximum Value).

As I need to implement this on LINQ dynamic query, the selections are not been reflected onto the query on execution i.e on a ButtonClick where all the user selections should change the default data in the grid to the DATA(that needs to be based on User Filters Selections).

I have 4 different Sliders in the same page.

Any suggestions, regarding how to implement:

 

SliderLivingArea.MinmumValue=SliderLivingArea.SelectionStart;
SliderLivingArea.MaximumValue=SliderLivingArea.SelectionEnd;
.
.
.
var _query = from....
                     (SliverLivingArea.MinimumValue==SliderLivingArea.SelectionStart) && (q.LivingArea.???)

How to proceed on this situation.

Ideas..???

Thanks

 

Himanshu Thakur
Top achievements
Rank 1
 answered on 29 Nov 2009
1 answer
117 views

Hi,

I am getting the following error in compilation at this part of the code ((SliderLivingArea.SelectionStart) && (q.LivingArea == SliderLivingArea.SelectionStart))

Error Desc: Error 1 Operator '&&' cannot be applied to operands of type 'int' and 'bool' 

Though I tried Type casting but it didnt helped.
Any Ideas or suggesstions?

Another question, For the slider's Minimum value am I using the right property as .SelectionStart or Do I need to use .MinimumValue instead?

Cheers!

Himanshu Thakur
Top achievements
Rank 1
 answered on 29 Nov 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
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
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?