Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
115 views
I have a RadGrid bound to a SQL data source component. When a user selects a row from the first grid, a data connection in the code takes values fom theat grid and feeds them to a second query, which is then bound in code to a second grid. The first grid is on the first of two pageviews, and the second grid is on the other pageview.

The first time I select a row in grid 1, the query runs correctly and loads data into grid 2. However, selecting any other record runs the second query as expected and loads the data into grid 2, but all the rows are compacted into a tiny single line. You can scroll through using the arrows and see that the data is there. This continues until you exit the page and then go back to it, whereon the process repeats itself.

I have tried moving grid 2 out of the table on the pageview, and various combinations of the Ajaxmanager update settings. Nothing helps.
Veli
Telerik team
 answered on 10 Jul 2009
3 answers
80 views
I have a select element being styled by the latest FormDecorator. Typing while the element is selected is not jumping to the nearest alphabetical match. This is handy since the select element has over 100 elements in it. Is this a known issue?

Martin
Telerik team
 answered on 10 Jul 2009
3 answers
138 views
hi

I am able to do grouping following your online example which is group by date

http://demos.telerik.com/aspnet-ajax/grid/examples/groupby/outlookstyle/defaultcs.aspx

however, i do not want to see or display the "Received from date:",  I just want to display the date only.

How do i go about it? thanks
Shinu
Top achievements
Rank 2
 answered on 10 Jul 2009
0 answers
83 views
Hi All,

I've some external javascript file(.js) in my project and I call it in my user control. 
Can someone tell me how to call the user control's form elements
(like textbox, dropdown and other controls defined in that user control). 
I cannot use ( document.formname.elementid because, the user control cannot have a form name.
. Pls tell me how can i access the user control's form elements.
Any help to this would be appreciated. 
Thanks
ZR
Ayesha
Top achievements
Rank 1
 asked on 10 Jul 2009
2 answers
171 views

Hi,

I have a radgrid, and set it as : 

QuotationLines.MasterTableView.GroupLoadMode = GridGroupLoadMode.Client

 

 

 

It performance better than GridGroupLoadMode.Server, it is good.
And now I want to let the interface can remenber the status of group. (It means remember which group is in expanding, which is in Collaping).
Then I set two client event to add or remove the group id from hidden filed. So that server side will know the group status from the hidden field.
My question is how to get group id from sender or eventArgs. (I've reader the help doc from telerik, but didn't find the answer...)
 

Aspx:

<telerik:RadScriptBlock>   
function OnGroupExpanding(sender, eventArgs) {  
     //How to put the current group code into hidden filed  
 }  
 function OnGroupCollapsing(sender, eventArgs) {  
     //How to remove the current group code from hidden field  
 }  
</telerik:RadScriptBlock> 
 
<asp:HiddenField ID="hidExpandGroupKeys" runat="server" /> 
<telerik:RadGrid runat="server" ID="ItemsList">  
    <MasterTableView DataKeyNames="code">  
        <GroupByExpressions> 
            <telerik:GridGroupByExpression> 
                <GroupByFields> 
                       <telerik:GridGroupByField FieldName="SubGroupCode"></telerik:GridGroupByField> 
                </GroupByFields> 
            </telerik:GridGroupByExpression> 
        </GroupByExpressions> 
        <Columns> 
            <telerik:GridBoundColumn DataField="code"> </telerik:GridBoundColumn> 
            <telerik:GridBoundColumn DataField="SubGroupCode"> </telerik:GridBoundColumn> 
        </Columns> 
    </MasterTableView> 
    <ClientSettings> 
        <ClientEvents OnGroupCollapsing="OnGroupCollapsing" OnGroupExpanding="OnGroupExpanding" /> 
    </ClientSettings> 
</telerik:RadGrid> 

May be my question is not very clear...
Hope the telerik support can help me, many thanks in advance.

 

Chenghan
Top achievements
Rank 1
 answered on 10 Jul 2009
4 answers
176 views

In the code-behind in the grid_ItemDataBound event I have this code to hide a particular GridGroupHeaderItem.  Now I want to show it later in the client-side based on some condition.  I can't figure out how to do this please help.

 

if

 

(e.Item is GridGroupHeaderItem)

 

{

 

GridGroupHeaderItem groupHeaderItem = (GridGroupHeaderItem)e.Item;

 

 

DataRowView groupDataRow = (DataRowView)e.Item.DataItem;

 

 

if (String.IsNullOrEmpty(groupDataRow["TRCategoryLabel"].ToString()))

 

{

 

groupHeaderItem.Display =

false;

 

}

 

else

 

{

 

if (groupDataRow["TRCategoryLabel"].ToString() == "OnCall Time Worked")

 

groupHeaderItem.Display =

false;

 

 

else

 

groupHeaderItem.DataCell.Text =

"<b>" + groupDataRow["TRCategoryLabel"].ToString() + "</b>";

 

}

Thanks,
Bernard

bern
Top achievements
Rank 1
 answered on 09 Jul 2009
4 answers
321 views
Hi there,

I just implemented a RadMenu control and have noticed an issue w/ how it is rendering in all browsers other than IE. Is there a known issue where IE7 would be the only browser correctly rendering the submenus?

As it stands now the submenus get clipped halfway through the second item in each case. I've tried changing the heights of the items, the flyout direction, the position offset - nothing is preventing the clipping in all browsers other than IE. Those include FF3, Opera 9.x, Safari 3.x, and Chrome.

I'd send screenshots but I see no "attach file" button.

I've dropped in the code from the aspx file in the event its something silly in the settings I'm missing.

<telerik:RadMenu ID="MainMindPivotRadMenu" runat="server" Skin="Black" Width="75%">
                  <Items>
                    <telerik:RadMenuItem runat="server" NavigateUrl="~/home.aspx" Text="Home">
                      <GroupSettings Flow="Horizontal" />
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem runat="server" NavigateUrl="~/solutions.aspx" Text="Solutions">
                      <Items>
                        <telerik:RadMenuItem runat="server" Text="SharePoint">
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem runat="server" Text="Drupal">
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem runat="server" Text="ASP.NET">
                        </telerik:RadMenuItem>
                      </Items>
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem runat="server" NavigateUrl="~/about.aspx" Text="About">
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem runat="server" NavigateUrl="~/contact.aspx" Text="Contact">
                    </telerik:RadMenuItem>
                  </Items>
                </telerik:RadMenu>

Thanks
Jeffrey Sanford
Top achievements
Rank 2
 answered on 09 Jul 2009
2 answers
110 views
Hi,

I am wondering, what would happen if a search engine or a non-javascript enabled browser visits a page with using this control? 

Will it gracefully fall back to a method that the browser can still use? 


thanks,


Richard
Richard
Top achievements
Rank 1
 answered on 09 Jul 2009
1 answer
65 views
I am looking for a tutorial for something I saw in the radgrid section.  Does anybody know how I can pull this kind of project off?  See link below:

http://demos.telerik.com/aspnet-ajax/input/examples/radinputmanager/dynamicinputfiltersettings/defaultcs.aspx?product=input
Daniel
Telerik team
 answered on 09 Jul 2009
3 answers
151 views
When i do an export of my datagrid to csv my boolean values that are in the grid do not display on the report - they are blank.  In Excel the values show up as capitalized TRUE or FALSE, but in csv nothing.

I am not doing anything different in the export - simply the MyGrid.MasterTableView.ExportToCSV()

How can I fix this?
Daniel
Telerik team
 answered on 09 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?