Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
138 views


hi
i have a radgridview that it full by a dataset while load my form.
it's fields are number, Id,name,familly that type of number field & Id field is "int" into sqlserver table,now i want number & Id field be a linkable cell while loads my  form, and i want while click on the Id field (1,2,3,.....) or click on the  number  field (1,2,3,......)  open a new form or show a message & other things,
plz help me,
already thanks a lot
Zahra
Top achievements
Rank 1
 answered on 09 Feb 2012
2 answers
64 views
hi friend.
iam collecting 3 informations like id, name,and address.
id is auto generated in server. 
when first time user enters the data, he gives name and address details and after clicking submit button, the data goes to server and fetched back to screen to display in rad grid with auto generate id.(this is done in server side coding).
when in click a row in grid, the name values and address from grid to be placed in txtname and txtaddress(this is done in client side).
for updating the the values i need to place id somewhere.
i used hiddenfield or label(visible="false"), it throws javascript error that "not a object".
if i used rad txtbox , id is placing in that txtbox without any problem, if i make that txtbox visible ="false", again iam getting same error.
is there any properties like "tag" or some otherway to hide the id for updating.

sorry if my english is poor.
thanks in advance 
S.Rajkumar
Raj
Top achievements
Rank 1
 answered on 09 Feb 2012
1 answer
77 views
Is there an option for the panel bar such that all items will be expanded and the user cannot collapse any of them?
Shinu
Top achievements
Rank 2
 answered on 09 Feb 2012
1 answer
70 views
How to catch an asp:Button Click event from the <FooterTemplate> of a RadComboBox ,on the server side,
RabComboBox has Checkboxes in it... and on click of that Asp:Button(which is inside FooterTemplate) i need to catch all the chcked Items from the ComboBox
Thanks

Environment:- ASP.Net Ajax 3.5, C#
Princy
Top achievements
Rank 2
 answered on 09 Feb 2012
1 answer
373 views
I have a grid with one detailgird below it that has 2 datakeynames.  I need to get the value of one of the datakey names as part of the
Itemcommand event in order to tell what lkind of transaction the event should be to pull the correct sql code.  I cannot put it in the commandargument becuase I have the sql Id field here.  how can I pull the 2nd datakeyname of a detail table.

<telerik:GridTableView Name="myReIssueGrid" runat="server" DataKeyNames="intReIssueId, intTransTypeId" TableLayout="Fixed" BorderWidth="1px" CellPadding="6" Font-Size="10"
                                                AutoGenerateColumns="False" HeaderStyle-HorizontalAlign="Center" BorderColor="#404040" Font-Names="Veranda,arial,sans-serif" GridLines="Both" ExpandCollapseColumn-ButtonType="ImageButton"
                                                ExpandCollapseColumn-CollapseImageUrl="~/Images/30.png" ExpandCollapseColumn-ExpandImageUrl="~/Images/29.png">
Shinu
Top achievements
Rank 2
 answered on 09 Feb 2012
1 answer
107 views
Hello

I am using a RadGrid, and have it sorted by a particular column by default, though manual sorting is disabled.  Is it possible to remove the shading/colour on the sorted column, so that it just looks like every other column?

I've tried using the following, but it does not seem to work:

this.grid.SortingSettings.SortedBackColor = Color.Empty;

Cheers

Mark
Shinu
Top achievements
Rank 2
 answered on 09 Feb 2012
0 answers
251 views
Hello Everyone,

I would like to do something similar to the Grid / Binary Images and Upload in Grid tutorial displayed on this telerik site, but not with binary images i would like to save the actual path to database. So basically i would like to save images to folder and image path in database and display images from folder in radgrid view based on the image path. I found a method not using telerik here but i would prefer to use telerik.

Thanks,
James
James
Top achievements
Rank 1
 asked on 09 Feb 2012
0 answers
29 views
I have been using RadTabStrip on a master page and using Microsoft Test Center 2010.  Everything was working fine (before error.png) until today when all of a sudden when I click Run Test the tab string changes from vertical to horizontal (menu error.png). any ideas of what the cause?
Phillip
Top achievements
Rank 1
 asked on 09 Feb 2012
1 answer
106 views

Hello,

I am trying to get the unit tests that are created using Telerik Testing Framework to run automatically on our build machine.  When the tests run I get the following error message.

- <message>
<![CDATA[
System.NullReferenceException : Object reference not set to an instance of an object.
  ]]>
  </message>
- <stack-trace>
<![CDATA[
at ArtOfTest.WebAii.Core.Manager.SetupDialogMonitoring()
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect)
at CFCAWeb.SC.Testing.SponsorsOnlineWeb_AccountHome.MySponsorships_TestBreadCrumb() in C:\Inetpub\wwwroot\CFCABeta\CFCAWeb.SC.Testing\Views\SponsorsOnlineWeb_AccountHome.cs:line 98
  ]]>
  </stack-trace>

I used NUnit framework, and used windows scheduler to schedule the run.  I have setup the 'Run as' userId as mine. Tests start and run fine If I stay logged on to the machine.  However, when I am not logged on to the machine, all  the tests fail giving the error message mentioned above.  I am using ArtOfTest.WebAii.dll version 2011.2.1305.0.

Any idea how I can get around this issue?  
Thanks
Bindu
Cody
Telerik team
 answered on 09 Feb 2012
0 answers
114 views
Hi

I have grid as ID, Type and FileName. EditTemplate of filename has two controls, fileupload control and textbox. Also I have two commanditems, as "add link", "add file". 
<CommandItemTemplate>
                <div style="padding: 5px 5px;">
                <asp:LinkButton ID="lnkbtnAddNewLink" runat="server" CommandName="InitInsertLink" Visible="true">
                    <img style="border:0px;vertical-align:middle;width:15px;" alt="" src="../Images/add_record.png" /> Add Link
                </asp:LinkButton>
                <asp:LinkButton ID="lnkbtnImportFile" runat="server" CommandName="InitInsertFile" Visible="true" >
                    <img style="border:0px;vertical-align:middle;width:15px;" alt="" src="../Images/add_record.png" /> Import File
                </asp:LinkButton>
</div>
</CommandItemTemplate>
 <telerik:GridBoundColumn DataField="ID" HeaderText="ID" SortExpression="ID"
                        UniqueName="AttachmentID">
                    </telerik:GridBoundColumn>
<telerik:GridTemplateColumn HeaderText="Type" UniqueName="Type"
                        SortExpression="AttachmentType" HeaderStyle-Width="50px">
                        <ItemTemplate>
                            <asp:Label runat="server" ID="lblType" Text='<%# Eval("Type") %>'></asp:Label>
                        </ItemTemplate>
                        <EditItemTemplate>
                            <asp:Label runat="server" ID="lblType" Text='<%# Eval("Type") %>'></asp:Label>
 </EditItemTemplate>
<telerik:GridTemplateColumn HeaderText="Upload" UniqueName="Upload">
                        <ItemTemplate>
                             <asp:Label ID="lblFileName" runat="server" Text='<%# Eval("FileName") %>'></asp:Label>
                        </ItemTemplate>
                        <EditItemTemplate>
                            <asp:TextBox ID="txtFileName" runat="server" Text='<%# Eval("FileName") %>'></asp:TextBox>
                            <asp:FileUpload ID="fpSelectFile" runat="server" MaxFileSize="10240" MaxFileInputsCount="1" InitialFileInputsCount="1"  ToolTip="Select a file less than or equal to size of 10KB."  />
                        </EditItemTemplate>
                    </telerik:GridTemplateColumn>


OnNeedDatasource, I attach the DataTable to the Grid. OnItemCommand, I create new Datarow and insert into the table, and call databind, the new row gets added to the grid, but it is noneditable. 


how can I achieve, when user click on Add link, button, I want to set Type=1 and make textbox visible. when user click add file, I have to set Type=0 and make upload control visible. 

Thanks
Sonie
Top achievements
Rank 1
 asked on 08 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?