Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
136 views
Hello
I am using two Resource Types in RadScheduler's (Collection).
Patient  (ResourceType 1)
Doctor  (ResourceType 2)

and all these Names lists are populationg from my database.
Now I want to view Second Recource type where Doctor Name's List is populating...Should be changed as I select any Patient from Patient Drop Down List
as:
Patient: ABC
             DEF
             GHI
And i Select ABC
then automatically Doctor should be Selected in List.
 is this Possible???

Thanks
Shirani
Top achievements
Rank 1
 answered on 05 Dec 2011
3 answers
80 views
Hello ALL,

I have applied following properties to radgrid.

<telerik:RadGrid ID="radgrdSearch" runat="server" Width="100%"
ClientSettings-Scrolling-AllowScroll="true"
ClientSettings-Scrolling-UseStaticHeaders="true" ClientSettings-Scrolling-FrozenColumnsCount="1"
ClientSettings-Selecting-AllowRowSelect="true" OnNeedDataSource="radgrdSearch_NeedDataSource"
OnItemDataBound="radgrdSearch_ItemDataBound"
OnItemCreated="radgrdSearch_ItemCreated"
AutoNavigateToSingleRecord="true"
ClientSettings-AllowKeyboardNavigation="true"
AutoGenerateColumns="false"
HeaderStyle-Wrap="true"
ItemStyle-Wrap="true"
AlternatingItemStyle-Wrap="true"                 OnExcelMLExportRowCreated="radgrdSearch_ExcelMLExportRowCreated" OnExcelMLExportStylesCreated="radgrdSearch_ExcelMLExportStylesCreated">
<MasterTableView Width="100%" NoMasterRecordsText="No records to display">
 
<telerik:GridHyperLinkColumn HeaderText="Action" UniqueName="ViewColumn" Visible="false" DataNavigateUrlFields="FIELD" ItemStyle-HorizontalAlign="Center" HeaderStyle-Wrap="true" HeaderStyle-Width="50px" ItemStyle-Width="50px" DataNavigateUrlFormatString="URL" Text="View"></telerik:GridHyperLinkColumn>
 
<telerik:GridHyperLinkColumn HeaderText="Action" UniqueName="ActionColumn" ItemStyle-HorizontalAlign="Center" HeaderStyle-Wrap="true" DataNavigateUrlFields="FIELD" HeaderStyle-Width="50px" ItemStyle-Width="50px" DataNavigateUrlFormatString="URL"
Text="Edit"></telerik:GridHyperLinkColumn>
 
<telerik:GridBoundColumn DataField="FIELD" HeaderText="HEADER"
HeaderStyle-Width="70px" ItemStyle-Width="70px" HeaderStyle-Wrap="true" />
 
<telerik:GridBoundColumn DataField="FIELD" HeaderText="HEADER"
HeaderStyle-Width="160px" ItemStyle-Width="160px" />
 
<telerik:GridBoundColumn DataField="FIELD" HeaderText="HEADER"
HeaderStyle-Width="150px" ItemStyle-Width="150px" />
 
<telerik:GridBoundColumn DataField="FIELD" HeaderText="HEADER"
HeaderStyle-Width="180px" ItemStyle-Width="180px" HeaderStyle-Wrap="true" />
 
<telerik:GridBoundColumn DataField="FIELD" UniqueName="UNIQUENAME" HeaderText="HEADER" DataType="System.DateTime" DataFormatString="{0:MM/dd/yyyy}"
HeaderStyle-Wrap="true" HeaderStyle-Width="80px" ItemStyle-Width="80px" />
 
<telerik:GridBoundColumn DataField="FIELD" UniqueName="UNIQUENAME" HeaderText="HEADER" DataType="System.DateTime" DataFormatString="{0:MM/dd/yyyy}"
HeaderStyle-Wrap="true" HeaderStyle-Width="70px" ItemStyle-Width="70px" />
 
<telerik:GridBoundColumn DataField="FIELD" HeaderText="HEADER"
HeaderStyle-Wrap="true" HeaderStyle-Width="60px" ItemStyle-Width="60px" />
 
<telerik:GridBoundColumn DataField="FIELD" HeaderText="HEADER"
HeaderStyle-Width="80px" ItemStyle-Width="80px" />
 
<telerik:GridBoundColumn DataField="FIELD" HeaderText="HEADER"
HeaderStyle-Width="80px" ItemStyle-Width="80px" />
 
</Columns>
</MasterTableView>
</telerik:RadGrid>

I had use paging control so i had used static header true.
Now when i am going to re size any of the column from grid the design get disturb, column get mapped on each of.
can you please give me your suggestion to resolve this.

Thanks
Kaushal Pathak.
Tsvetina
Telerik team
 answered on 05 Dec 2011
1 answer
122 views

I'm using nested RadSplitBar controls.  On the left I have a treview used for navigation and on the right is my content pane.  Whenever  a particular node on the navigation pane is click is loads a URL on my content pane via set_contentURL.  The content pane is loaded from my data source which set session vars tied to each entry object.  The problem I'm having is capturing the content from each object before the user clicks the navigation to change the url.  I would like to traverse the object from the content page and capture the entered data within and event that fired just before it sets or changes to the next content url.


Javascript that changes the content whenever the DB driven node is selected.

 

<

 

 

script type="text/javascript">

 

 

 

 

 

 

 

 

function onNodeClicked(sender, args) {

 

showDetails(args.get_node());

}

 

 

function showDetails(node) {

 

 

 

if (node.get_value()) {

 

 

 

var page = node.get_value();

 

LoadExternalContent(page,

 

'contentPane');

 

 

 

}

 

 

else {

 

$get(

 

"details").style.display = "none";

 

}

}

 

 

function LoadExternalContent(url, targetPaneID) {

 

 

 

var splitter = $find("topSplitter");

 

 

 

var pane = splitter.getPaneById(targetPaneID);

 

 

 

if (!pane) return;

 

 

 

if (url == "0") {

 

 

 

return;

 

}

 

 

else {

 

pane.set_contentUrl(url);

}

}

 

 

</script>

 

 

Here is the Content pane.

 

 

<telerik:RadPane ID="contentPane" Width="50%" Height="675" Scrolling="Y" EnableAjaxSkinRendering="true" runat="server">

 

 

 

 

 

 

</telerik:RadPane>

 

 

 

 

 

 

 

 

 Any help would be greatly appreciated.

Thank you.

Dobromir
Telerik team
 answered on 05 Dec 2011
1 answer
61 views
I just wanted to know if the slider control should work in the Safari browser on the iPad. 

Thanks
Slav
Telerik team
 answered on 05 Dec 2011
1 answer
127 views
Hi,
There are  two chart control on the page.
I want to make the two chart align.
But i didn't find the property to set the label width or others to make the two chart align.

Do you have any suggestions about this ?

Best regards.


Petar Marchev
Telerik team
 answered on 05 Dec 2011
5 answers
301 views

Requirements

RadControls version 2011
.NET version 4.0
Visual Studio version 2010
programming language C#
browser support

all browsers supported by RadControls


PROJECT DESCRIPTION
in this demo, You can able to set the attribute or properties of the other controls in Insert or Edit mode using Jquery.
in addition, I already implemented code for based one combobox's value, enable/Disable the other radcomboboxs in Insert/Edit Mode.
It was worked for Inline and editform mode.

Let me know if any concern.

Thanks,
Jayesh Goyani
Tsvetina
Telerik team
 answered on 05 Dec 2011
1 answer
160 views
I have the problem Filtering By ListTextField for GridDropDownColumn
(http://www.telerik.com/help/aspnet/grid/grdfilteringbylisttextfieldforgriddropdowncolumn.html)
but i use the HeaderContextMenu.


i tryed  without  success


Can you help me?


 
switch (e.CommandName.ToLower())
           {
               case  "headercontextmenufilter":
                   Triplet headercommand = (Triplet)e.CommandArgument;
                   Pair command = (Pair)headercommand.Second;
 
                   if (headercommand.First.ToString().ToLower() == "fg")
               {
                   e.Canceled = true;
                  /// GridFilteringItem filter = (GridFilteringItem)e.Item;
                   GridHeaderItem filter= (GridHeaderItem)e.Item;

Lasly
Top achievements
Rank 1
 answered on 05 Dec 2011
1 answer
64 views
I'm trying to find an simple way of having about 20 combobox filters for a grid that only displays about 5 columns.  Our original grid just had a seperate filter section outside of the grid, but that is difficult to manage.  Is there a way to do this within radgrid?
Andrey
Telerik team
 answered on 05 Dec 2011
1 answer
153 views
Hello!
I am trying to export to rtf some content using radeditor. I have some labels and a grid.
i can export it with no problems, but when i open the rft on microsoft word i get the message that a table is damage and when i open it on wordpad, the content is empty.

Can i export grid to rtf with radeditor??

thanks
Rumen
Telerik team
 answered on 05 Dec 2011
3 answers
266 views
Hello!
i want to know if it is possible to export images and tables to rtf using radeditor. I've tried to export tables but once it is  exported, the table does not have a format, the lines don't appear and the content looks  like there is a letter for row. I attached a picture where you can see how a table looks like when it's exported

Is it  possible to export images and tables to rtf using radeditor?

thanks in advance!
Rumen
Telerik team
 answered on 05 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?