Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
112 views
Hi guys,

The Telerik ASP.NET Diagram control is now available for download and will help you create rich, high-performing and interactive diagrams with ease.

The Beta installations are available at the bottom of the Download UI for ASP.NET AJAX - Version: 2014.1 403 (Apr 3, 2014) section under Your Telerik.com account. You can obtain the trial MSI installation right from here.

You can also test the control in the live demos and add your comments and suggestions in the Feedback portal.

Best regards,
Rumen
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 25 Apr 2014
3 answers
84 views
Hello friends,
i have RadFilterControl for date range. i mean we have to enter from date and to date for filtering data.
my requirement is , i have to get the to date entered by user and have to add 5 hours to it. 
i am planning to do this in Itemcommand event before calling FireApplyCommand(). 
so i have to read the end date entered by user and have to read it , add 5 hours to it, and then apply the filter.
could you guide me how to read the values entered by the user.

ravindar
Top achievements
Rank 1
 answered on 25 Apr 2014
3 answers
495 views
Hello,
I want to save a file to database. I have a grid template column, in that I have RadUpload control. From this I will have to get the input file from user. I need to save this file in the database. I do not want to use the query in the aspx page. I want to save this file to DB in

rdgAddUpdFile_InsertCommand

method. What should be the DB column Type for this? Should this be text or Varchar?
Also, how to get this data saved again for reconstructing this file for download?
Thanks and Regards,
Deepika Karanth

Arron
Top achievements
Rank 1
 answered on 25 Apr 2014
3 answers
325 views

 Hi,
Anybody can help me how can I get selected cell value in radgrid dynamically. I would like to publish my code and attachement. What I want is when CellDbClick event fire, I want to get current selected cell value in attachement gridview. I appreciate any help.

.aspx
(
 <telerik:RadGrid runat="server" ID="grdAvailability" AllowPaging="true" AutoGenerateColumns="false"
                                         OnItemDataBound="grdAvailability_DataBound"
                                         PageSize="50" Height="565px" Skin="Simple">
                            <PagerStyle Visible="false"  />
                            <MasterTableView DataKeyNames="RoomKey" ItemStyle-Wrap="false" ClientDataKeyNames="RoomKey" TableLayout="Auto">
                            </MasterTableView>
                            <ClientSettings AllowRowsDragDrop="true">
                                <Scrolling AllowScroll="true" UseStaticHeaders="true" SaveScrollPosition="true" />
                                <ClientEvents OnCellSelected="cellSelected" OnScroll="HandleScrolling" OnRowContextMenu="OnRowContextMenu" />
                                <ClientEvents OnRowDblClick="CellDbClick" />
                                <Selecting CellSelectionMode="SingleCell" EnableDragToSelectRows="true" />
                            </ClientSettings>
                        </telerik:RadGrid>
)

Script
(
 function CellDbClick(sender, eventArgs) {
                var grid = sender;
                var MasterTable = grid.get_masterTableView();
                var row = MasterTable.get_dataItems()[eventArgs.get_itemIndexHierarchical()];
                var cell = MasterTable.getCellByColumnUniqueName(row, 'RoomKey');
                var value = cell.innerHTML;
                var rvalue = cell.innerText;
                alert("HTML" + value);
                alert("Text" + rvalue);
            }
)
Princy
Top achievements
Rank 2
 answered on 25 Apr 2014
1 answer
750 views
I need to countdown days, hours, minutes to a future event on a clock type control.  Does anyone have a good example of doing that?
Shinu
Top achievements
Rank 2
 answered on 25 Apr 2014
2 answers
193 views
Hi guys,

I am displaying a Code11 barcode with the Text and Checksum. On increasing the font, I recently found the text got overlapped with the barcode as the size increases. How can I fix this?

Thanks
Joseph.
Mariah
Top achievements
Rank 1
 answered on 25 Apr 2014
0 answers
56 views
Hi

We have MOSSEditor Webparts deployed in our MOSS environment. We have a need to programtically read the contents of all the MOSSRadEditors on the site. Please guide me on how to do that.

Thanks.
smitha
Top achievements
Rank 1
 asked on 24 Apr 2014
5 answers
424 views
Hello 

I'm currently working on a project that includes RadMenu. 
The functionality that I want is this: 

Only when I click on the item it will open and not by mouse hover. (Each tab separately). 

My ASPX code: 


01.<telerik:RadMenu ID="RadMenu1" Runat="server" ClickToOpen="True" OnClientMouseOver="OnClientMouseOverHandler" style="top: 0px; left: 0px; width: 414px; height: 40px">
02.                       <Items>
03.                           <telerik:RadMenuItem runat="server" Text="Root RadMenuItem1">
04.                               <ContentTemplate>
05.                                   <div id="NewsWrapper" class="Wrapper">
06.                                       sdfsdfsdfs
07. 
08.                                         <a class="moreLink" href="#">View all »</a>
09.                                   </div>
10.                               </ContentTemplate>
11.                           </telerik:RadMenuItem>
12.                           <telerik:RadMenuItem runat="server" Text="Root RadMenuItem2">
13.                              <ContentTemplate>
14.                                   <div id="Div1" class="Wrapper">
15.                                       sdfsdfsdfs
16. 
17.                                         <a class="moreLink" href="#">View all »</a>
18.                                   </div>
19.                               </ContentTemplate>
20.                           </telerik:RadMenuItem>
21.                           <telerik:RadMenuItem runat="server" Text="Root RadMenuItem3">
22.                              <ContentTemplate>
23.                                   <div id="Div2" class="Wrapper">
24.                                       sdfsdfsdfs
25. 
26.                                         <a class="moreLink" href="#">View all »</a>
27.                                   </div>
28.                               </ContentTemplate>
29.                           </telerik:RadMenuItem>
30.                       </Items>
31.                   </telerik:RadMenu>

JS code:

01.<script type="text/javascript">
02.       function OnClientMouseOverHandler(sender, eventArgs) {
03.           if (eventArgs.get_item().get_parent() == sender) {
04.               sender.set_clicked(false);
05.           }
06.       }
07. 
08.        
09.   </script>


My problem is that when one item is already opened, and I move the mouse away and back , and then click on it, it does not recognize that it is already opened, and opens again. 

How do I fix this? 

Pseudo code  like this: 
if radmenuitem.isOpen == true 
       radmenuitem.close


Thanks,

Daniel.
Boyan Dimitrov
Telerik team
 answered on 24 Apr 2014
1 answer
137 views
If you have a linked image in the editor and you replace the image by clicking it to select it, opening the image manager, and inserting a new image, the link is deleted. I am pretty sure that links used to be preserved when images are replaced. i remember instructing people on how to do this regularly in templates so they did not have to recreate all the links when updating their images.

We are experiencing this issue in version: 2014.1.403.40, but as you can see the issue is reproducible in your demo site as well. 

I've recorded a video using your demo site that demonstrates how to recreate this issue.

https://www.youtube.com/watch?v=PO9SMLFCVkc

Please let me know how we can correct this, or if it's a bug when it will be fixed.

-Mark
Ianko
Telerik team
 answered on 24 Apr 2014
1 answer
307 views
I have a home.aspx file which has a button. when click on this button i would like to do do a modal popup to call login.ascx (user control). i want to make this modal avaiable no matter what page you are on. So if you get timedout, the modal will popup at your current page and ask you to log back in again. so my structural is
primary master - child master - home - user control

i tried to look for a way to do this in telerik modalpopup but haven't found any. Do you guys have any sample like this? Thanks
Danail Vasilev
Telerik team
 answered on 24 Apr 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?