Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
162 views
Hi,

I have a Radgrid as shown below and for some reason vertical scrollbar does not appear.  Please help.

<telerik:RadGrid ID="RadGrid1"  runat="server" EnableAJAX="True" GridLines="None" 
    OnNeedDataSource="RadGrid1_NeedDataSource"  
    OnItemCreated="RadGrid1_ItemCreated"
    OnItemCommand="RadGrid1_ItemCommand"
    AllowPaging="False" AllowSorting="True" BorderColor="Gray" BorderWidth="1px" 
        Width="700px" PageSize="5" 
        OnItemDataBound="RadGrid1_ItemDataBound" ShowStatusBar="True" 
        Title="Report Queue" GroupingEnabled="False"  AllowMultiRowSelection="True" 
        AutoGenerateColumns="False" AllowMultiRowEdit="True" Skin="WebBlue">
    <MasterTableView CommandItemDisplay="Top">
  
  
  
  
        <RowIndicatorColumn Visible="False">
            <HeaderStyle Width="20px"/>
        </RowIndicatorColumn>
          
        <ExpandCollapseColumn Visible="False">
            <HeaderStyle Width="19px" />
        </ExpandCollapseColumn>
        <CommandItemSettings  AddNewRecordText="" RefreshImageUrl="../RadControls/Refresh_new.gif"  />
        <Columns>
            <telerik:GridButtonColumn
                HeaderText="Cancel ?" UniqueName="KillProcesses"  AutoPostBackOnFilter="True" Text="Cancel" ButtonType="PushButton" CommandName="remove">
            </telerik:GridButtonColumn>
            <telerik:GridBoundColumn UniqueName="JobID" DataField="JobID" HeaderText="Job Id">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="SubmittedBy" DataField="SubmittedBy" HeaderText="Submitted By">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="TimeSubmitted" DataField="TimeSubmitted" HeaderText="Time Submitted">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="JobStatus" DataField="JobStatus" HeaderText="Job Status">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="ReportName" DataField="ReportName" HeaderText="Report">
            </telerik:GridBoundColumn>
        </Columns>
      
        </MasterTableView>
       <ClientSettings >
            <Selecting AllowRowSelect="True" AllowCellSelect="True" AllowColumnSelect="True" />
            <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True"/>
        </ClientSettings>
  
        <SelectedItemStyle BackColor="#00C0C0" />
</telerik:RadGrid>


Thanks,

Olga
Olga
Top achievements
Rank 1
 answered on 17 Aug 2011
2 answers
86 views
Hi all,

I have a Grid (master grid) which contains a Detail Grid for each row. In Detail Grid, I have created GridTemplateColumn with HeaderTemplate and ItemTemplate.
HeaderTemplate contains some image buttons which allow user interacting with them. 

In NeedDataSource event of DetailGrid, I have fetched data from DB to bind its data. Depending on a property of each item (row), these image buttons are [displayed and set some properties] or not.

How can I access these image buttons for setting (invisible/visible, CommandArgument -  from DataItem) for them ?

Thanks a lot for your help,
Phuc PHAM

Phuc
Top achievements
Rank 1
 answered on 17 Aug 2011
2 answers
1.2K+ views
I am trying to implement the Session Timeout functionality. 

1) Is it possible to somehow get the browser window to flash/blink or something similar when the notification appears? If I have opened a PDF from my site and am reading that in its own tab, and the session timeout window appears on the previous tab, I want to be notified that it exists, otherwise the Timeout Window becomes a bit more pointless.  

2) Also, your Session Timeout demo gets quite confusing when you say some of the code is there only for the demo but not needed otherwise, yet I can't seem to get mine to redirect me after the 2 minutes.  Do you have a quick sample that shows an alert after 10 seconds, and then after 5 seconds of being visible, (and no action taken...simulating a session timeout) it redirects to a new page? I'm not sure what I am doing wrong.  

Here's the HTML code I have so far:
<script language="javascript">
    function SessionTimeoutOnShowing(sender, args) {
    }
    function ContinueSession() {
        var notification = $find("rnSessionTimeout");
        notification.update();
        notification.hide();
    }
</script>
 
    <telerik:RadNotification ID="rnSessionTimeout" runat="server" Position="Center" Width="300"
        Height="125" LoadContentOn="PageLoad" AutoCloseDelay="10000" ShowInterval="15000"
        Title="Session Expiration" Value="~/" TitleIcon="Warning" OnClientShowing="SessionTimeoutOnShowing"
        ContentIcon="Warning" Skin="Default" EnableRoundedCorners="true">
        <ContentTemplate>
                Your session is about to expire. Do you wish to continue using this site?<br />
                <telerik:RadButton Skin="Default" ID="continueSession" runat="server" Text="Continue Your Session" Style="margin-top: 10px;" OnClientClick="ContinueSession(); return false;" />
        </ContentTemplate>
    </telerik:RadNotification>
John Snyder
Top achievements
Rank 1
 answered on 16 Aug 2011
4 answers
169 views
I will preface this question by saying that I have only been using telerik tools for about a week and a half, but I am having a very strange issue and have not been able to find anything online that describes my issue.  

I am using a RadGrid in one of my pages, and when I do not allow filtering everything shows up perfectly, however, as soon as I tick the 'Enable Filtering' check box, the width of one of my columns goes astronomically large.  I'm not talking a few hundred pixels, Google Chrome put it at 114,085,104px wide.  I have deleted and re-created the page, same issue.  I also tried adding the 'Enable Filtering' property to another existing page that had a radgrid, and it also happened there.  I have gone through the CSS several times to make sure it wasn't picking up something weird, but haven't found anything. 

Any advice would be greatly appreciated.

Thanks!
Jayesh Goyani
Top achievements
Rank 2
 answered on 16 Aug 2011
18 answers
277 views
Hello people,

 Can you tell me how can I get the rows that are with color red in my RadGrid?? which is the property? I need to count them to update a text on a button, but the problem is that those rows are not selected, so I can't count them by item.selected property..

The button(Unprocessed) is not counting the Processed and updating the text because there are none "Selected" so the counting appears like "Processed (0) Total(300) " when you can see rows at red...can i get those rows to count?

Here is my code:
Jayesh Goyani
Top achievements
Rank 2
 answered on 16 Aug 2011
2 answers
109 views
Am I losing my mind?  Jumped into VSB today and wanted to do a quick skin for RadListVIew.  A couple of things i noticed..

1 -- for reason when I create a skin it also adds other elements I didn't pick (Grid, Input, etc, etc).  Didn't do this before. 
2 -- there's no fine-tune option for ListView  (this might be normal as I've never skinned ListView before).
3 -- upon downloading a vanilla DEFAULT skin for ListView, it didn't appear that it used DEFAULT as the base skin like it should have.

Figured I'd report a few quirks.  Used both IE and FF to make sure it wasn't something funky with my browser.

I really don't like that it adds other components.... having to delete the files is a pain.  Anyway, wanted to report.  Thanks all.
Clint
Top achievements
Rank 1
 answered on 16 Aug 2011
6 answers
185 views
I am using RadAsyncUpload to send content into SharePoint using HttpHandlerUrl="~/_vti_bin/myHandler.ashx", the content is delivered, and this handler replies with the FileInfo Json which includes the SharePoint information required client-side (without metaData)

Have no idea what this represents, so leaving it empty:
"metaData":"/wEFsAF7IlRlbXBGaWxlTmFtZSI6InFobXhpZGRyLjN4NSIsIkFzeW5jVXBsb2FkVHlwZU5hbWUiOiJUZWxlcmlrLldlYi5VSS5VcGxvYWRlZEZpbGVJbmZvLCBUZWxlcmlrLldlYi5VSSwgVmVyc2lvbj0yMDExLjEuNDEzLjM1LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPTEyMWZhZTc4MTY1YmEzZDQifexeAUe9Qntvi6cibJXmRsELub3C"

The question is related to the querystring values included with the request to the handler
_vti_bin/myHandler.ashx?type=rau&RadUrid=8e407d48-f46e-4360-8cdb-5b44b384e2870; How should these values be used in a custom handler.

Otherwise everthing is working well, pushing content into SharePoint.

More information would be most helpful.
Cat Cheshire
Top achievements
Rank 1
 answered on 16 Aug 2011
1 answer
71 views
Hi,

On Mouse over, it is highlighting 2 timeslot sections , how can I make it highlight only one section.
PFA the screenshot.

Thanks,
Navya
Plamen
Telerik team
 answered on 16 Aug 2011
2 answers
161 views
Hi all,

I'm using RadMenu and have problem with the DOCTYPE.
If I use 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
the menu looks good as image 1. But this one affects my RadGrid interface (for example, the font size is bigger, ...)

But when I use
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
there will be error with the Menu interface as image 2.

I would like to use the second DOCTYPE for many purpose.
Is anyone meet this situation before?

Thanks.

Andy.
July
Top achievements
Rank 2
 answered on 16 Aug 2011
2 answers
77 views
I am using RadDocks (with title templates) that are approximately the width of the user's screen.  This works fine with most skins.  But when I switch to Sitefinity, the header background image (rdCenter) is not wide enough.

It seems that other skins use a vertical image and repeat it, but Sitefinity uses one big wide image that is only 1200px, presumably so you can easily include the little dots on the left.  But, now I can't switch skins.

Am I missing something?

Thanks.
Chris Dalessandri
Top achievements
Rank 1
 answered on 16 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
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?