Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
127 views
In the datatable in the rad chart I would like the values have a + sign if it is a positive number. Is that possible
Evgenia
Telerik team
 answered on 24 Sep 2010
1 answer
37 views
Can an admin please delete the posts that I submitted with the title "No InsertItemTemplate in RadGrid?" I don't know why, but, it kept failing when I tried to submit it. I didn't think it went through. So, I changed it and resubmitted it multiple times. Now I see the posts listed in the list, but, if you click on them, the pages don't display.
Tsvetoslav
Telerik team
 answered on 24 Sep 2010
1 answer
66 views
Group,
I have a RadGrid and I want to be able to hide the row of filters when I am in the OnEditcommand.  I can do it using Javascript by selecing radio buttons or clicking a button, but I just want it to automatically hide when in edit mode.

I tried using
gvProductionRuns.AllowFilteringByColumn = !gvProductionRuns.AllowFilteringByColumn;

but it causes issue with what record I am actually updating. I know there has to be an easy solution to this, but I am not finding it.

Any help is greatly appreciated!
Shinu
Top achievements
Rank 2
 answered on 24 Sep 2010
4 answers
62 views
I have  used RadTabStrip in my project its working fine.
But when i select any tab I want that tab should have some diffrent color and font?
thnks in advance.
nirbhay giri
Top achievements
Rank 1
 answered on 24 Sep 2010
4 answers
150 views
I have a toolbar in a user control which is ajaxified using the following declaration:

<telerik:RadAjaxManagerProxy ID="rap1" runat="server" > 
    <AjaxSettings> 
        <telerik:AjaxSetting AjaxControlID="rtbActions">  
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="pnlFFV" LoadingPanelID="lpFFV" /> 
                <telerik:AjaxUpdatedControl ControlID="rtbActions" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
    </AjaxSettings> 
</telerik:RadAjaxManagerProxy>  

When certain toolbar buttons are clicked, controls are updated within a panel control (pnlFFV), and sometimes the toolbar itself is updated. This all works well, however, there is a button in the toolbar, which I want to cause a postback instead of an ajax update (this button is used to download a file and it is necessay to use the reponse object). I tried the following:

I added this script:


function realPostBack_FFV(eventTarget, eventArgument) {  
     $find("<%= rap1.ClientID %>").__doPostBack(eventTarget, eventArgument);  

and in codebehind, I tried to wire it up to the particular toolbar button

For Each itm As RadToolBarButton In rtbActions.Items  
     If itm.Value = "Download" Then 
          itm.Attributes.Add("onclick"String.Format("realPostBack_FFV('{0}', ''); return false;", itm.UniqueID))  
     End If 
Next 

However, this button still causes an ajax update. can someone help me figure out how to exclude a particular toolbar button from an ajaxupdate if the rest of the toolbar is ajaxified?

P.S., I also tried modifying the javascript to reference the AjaxManager instead of the Proxy, like so:

function realPostBack_FFV(eventTarget, eventArgument) {     
     $find("<%= Me.MyAjaxManager.ClientID %>").__doPostBack(eventTarget, eventArgument);     
}    
 //Me.MyAjaxManager gets a reference to the shared AjaxManager in my base page class

But this dind't seem to make a difference.


Rich Coleman
Top achievements
Rank 1
 answered on 23 Sep 2010
2 answers
78 views
Hi,

I have a custom file upload code and i just wanted to add the Radprogress bar to monitor the fileupload progress.

Since its already a tested code and we have a release nearing we dont want to change to Radupload.

How do i monitor file upload progress?

Am using a simple file upload:
 <asp:FileUpload ID="fuRPFileSelect" runat="server" />
In the code behind  am using   fuRPFileSelect.SaveAs()  method for saving the file.

Thanks,
Mani
Manikandan Balasubramaniyan
Top achievements
Rank 1
 answered on 23 Sep 2010
13 answers
347 views
Hi Telerik Team,

I wanna know if the textbox of filter put out of the grid.

Please help me, thanks to all telerik team!
Pedro
Top achievements
Rank 1
 answered on 23 Sep 2010
2 answers
261 views
Hello,

There is an issue that users don't want to see the field alias in group header.
I tried to set it as "FieldAlias = ' '",  but it raised an error.
The error message is "Field definition is not valid. FieldAlias contains invalid characters"
Is it possible to reslove my issue? Thanks ahead.

Best regards
Chenghan
Justyn
Top achievements
Rank 1
 answered on 23 Sep 2010
3 answers
390 views
I want change the scroll height from clientside. I have seen your examples But my scenario is is different. I have radgrid on popup window with addnotes tab. By defalut grid scroll height is 220px. when i click addnote button i want decrease the scrollheight size to 120px. How to do it. I tried your code but i am getting error like "Microsoft JScript runtime error: 'GridDataDiv' is null or not an object".  (Please see Images)  Here is my code....

<div id="div1" style="width: 100%; overflow: auto; overflow-x: hidden">
    <table class="customFont" width="98.5%">
        <tr id="tr1" runat="server">
            <td align="right">
                <asp:Button Text="Add Note" runat="server" ID="Button1" OnClientClick="return showAddNotes()" />
            </td>
        </tr>
        <tr style="display: none; position: relative" id="tr2">
            <td>
                <table style="background-color: #F5F5E9" cellspacing="2">
                    <tr>
                        <td align="left" style="width: 70px;">
                            Note Type
                        </td>
                        <td align="left" style="width: 82px; height: 24px;">
                            <telerik:RadComboBox ID="RadComboBox1" EmptyMessage="Please select" runat="server"
                                MarkFirstMatch="True" CollapseDelay="0" Width="115px" DropDownWidth="100px" AllowCustomText="True">
                                <CollapseAnimation Duration="0" />
                            </telerik:RadComboBox>
                            <asp:RequiredFieldValidator InitialValue="" ValidationGroup="Notes" ID="RequiredFieldValidator1"
                                runat="server" ControlToValidate="ddlNoteType" ClientValidationFunction="ddlNt"
                                Display="None" ErrorMessage="Please select Note Type."></asp:RequiredFieldValidator>
                            <cc2:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" TargetControlID="custValCou"
                                runat="server" Enabled="True">
                            </cc2:ValidatorCalloutExtender>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td align="left" valign="middle" style="width: 70px;">
                            Notes
                        </td>
                        <td align="left">
                            <asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine" Rows="3" Width="570px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ValidationGroup="Notes"
                                ControlToValidate="txtNoteDesc" Display="None" runat="server" ErrorMessage="Please enter Notes."></asp:RequiredFieldValidator>
                            <cc2:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" TargetControlID="valCliID"
                                runat="server">
                            </cc2:ValidatorCalloutExtender>
                               
                        </td>
                        <td valign="top">
                            <div style="padding-bottom: 4px;">
                                <asp:Button ID="Button2" Width="60px" OnClick="btnAddNote_Click" ValidationGroup="Notes"
                                    runat="server" Text="Add" /></div>
                            <asp:Button ID="Button3" Width="60px" runat="server" OnClientClick="return  hideAddNotes()"
                                Text="Cancel" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                  
            </td>
        </tr>
        <tr>
            <td>
                <telerik:RadGrid ID="RadGrid1" GridLines="None" AllowSorting="false" Width="100%"
                    runat="server" AutoGenerateColumns="false" ShowFooter="false" ShowGroupPanel="false"
                    ShowStatusBar="false" EnableEmbeddedSkins="false" HeaderStyle-HorizontalAlign="Left"
                    ItemStyle-HorizontalAlign="Left" Font-Size="7.5pt" BorderColor="White" BorderWidth="0"
                    BorderStyle="None">
                    <HeaderStyle BackColor="#004000" ForeColor="White" Font-Size="7.5pt" Font-Bold="True"
                        HorizontalAlign="Left" BorderColor="White" />
                    <ItemStyle BorderStyle="None" />
                    <AlternatingItemStyle BorderStyle="None" />
                    <AlternatingItemStyle BackColor="#F5F5E9" />
                    <MasterTableView>
                        <Columns>
                            <telerik:GridBoundColumn HeaderText="#" DataField="rowNum" HeaderStyle-Width="12px"
                                ItemStyle-Width="12px">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn ReadOnly="true" HeaderStyle-Width="413px" ItemStyle-Width="413px"
                                UniqueName="Notes" HeaderText="Notes" DataField="Notes">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn UniqueName="Type Description" HeaderStyle-Width="57px" ItemStyle-Width="57px"
                                HeaderText="Note Type" DataField="Type Description" ReadOnly="true">
                            </telerik:GridBoundColumn>
                            <telerik:GridTemplateColumn HeaderText="Created By">
                                <ItemTemplate>
                                    <asp:Label ID="lblCreatedBy" runat="server" Width="78px" Text='<%# Bind("CreatedBy") %>'></asp:Label>
                                </ItemTemplate>
                            </telerik:GridTemplateColumn>
                            <telerik:GridBoundColumn UniqueName="CreationDate" HeaderText="Created Date" DataField="CreationDate"
                                ReadOnly="true">
                            </telerik:GridBoundColumn>
                        </Columns>
                        <NoRecordsTemplate>
                            No notes are avaliable</NoRecordsTemplate>
                    </MasterTableView>
                    <ClientSettings>
                        <Scrolling AllowScroll="True" UseStaticHeaders="True" ScrollHeight="220px" SaveScrollPosition="True">
                        </Scrolling>
                    </ClientSettings>
                </telerik:RadGrid>
            </td>
        </tr>
    </table>
</div>


function showAddNotes(sender, args) {
            document.getElementById('trAddNewNotes').style.display = "block";
            document.getElementById('ctl00_PagePlaceholder_winBlkTskAssign_C_tabTskAssign_TabNotes_trNotes').style.display = "none";
            var scrollArea = sender.GridDataDiv;
            var parent = $get("div1");
            var gridHeader = sender.GridHeaderDiv;
            scrollArea.style.height = "120px";
            return false;
        }
Babu Puchakayala
Top achievements
Rank 1
 answered on 23 Sep 2010
1 answer
140 views
I know this may be an odd request, but is there anyway I can download a copy of the of the RadControls for ASP.NET AJAX Q2 2009 SP1 installer?  I'm working on Sitefinity 3.7.2022.2 and need some skins for the rad controls, so I actually just need the skins if I could get those.  The newer skins I have don't seem work quite right.

Thank you in advance.

P.S.  I'm running VS 2010.
Shivers999
Top achievements
Rank 1
 answered on 23 Sep 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?