Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
78 views
I have a RadGrid that will have 0 or more individual rows editable at any time.

I am setting EditMode in the NeedDataSource event with the line

    RadGrid1.EditIndexes.Add(i);

for each appropriate row.

However, if the user sorts the rows, the rows are reordered but the EditMode status of each row does not follow the data.  If row 3 was editable, then row 3 is still editable even though it has different data in it.

I tried moving RadGrid1.EditIndexes.Add(i) to different events and nothing worked.

I noticed that the only two events that I can find that occur after the actual sorting is ItemCreated and ItemDataBound.  In those events, neither RadGrid1.EditIndexes.Add(i) or e.Item.Edit = true cause IsInEditMode to be true in ItemDataBound.

How can I set the EditModes correctly on rows after sorting has been done?

 

Tsvetina
Telerik team
 answered on 07 Jun 2011
2 answers
224 views
Hello Telerik,

My requirement is that i need tool tips with rounded corners to be put on my project. The current tool tips have a square/ rectangle border and there seems to be no skin with a rounded rectangle border.

Could you please help me.

Regards,
Ayshwarya
Marin Bratanov
Telerik team
 answered on 07 Jun 2011
3 answers
104 views
Hi,

I am using RadTextbox in our application . I have a Radwindow on which we can add user. The problem is that a linkbutton on that window is used to generate password .User can edit the system generated password and can save it. For example: if the system generated a password ‘YYUTRE’. Now user modified the password to ‘YYUTREQWE’. System will display all the characters of the password which are system generated and all the manually entered characters as hidden.For example: If the user clicks on ‘Generate Password’ and system generates ‘YYUTRE’ and then user adds ‘YTU’ to it. Then the password will look like YYUTRE●●●.  I want to achieve this functionality . Please suggest how can I make the RadTextbox TextMode both text and password.


Thanks,
Rahul
Tsvetina
Telerik team
 answered on 07 Jun 2011
1 answer
57 views
Hi all,

When I added some controls to the panelbar, say textbox (regular or radTextBox),
The item's ID are not recognized - no Item is recogzined.

any ideas?

Thanks!
Princy
Top achievements
Rank 2
 answered on 07 Jun 2011
2 answers
76 views
Hello,

I've created a portal page much like the one from this example:

http://demos.telerik.com/aspnet-ajax/dock/examples/myportal/defaultcs.aspx

My problem is that I have one particular dock with a dynamic user control containing a RadListView. I've set AllowPaging = true and created the Paging mechanism as such in my LayoutTemplate:
<div style="float: left; margin-left: 30%;">
    <asp:Button runat="server" ID="btnFirst" CommandName="Page" CommandArgument="First"  
             Text="First" Enabled="<%#Container.CurrentPageIndex > 0 %>" Font-Size="10px" />
    <asp:Button runat="server" ID="btnPrev" CommandName="Page" CommandArgument="Prev"
             Text="Prev" Enabled="<%#Container.CurrentPageIndex > 0 %>" Font-Size="10px" />
    <span style="vertical-align: top; position: relative; top: 4px">Page
            <%#Container.CurrentPageIndex + 1 %>
             of
             <%#Container.PageCount %>
   </span>
   <asp:Button runat="server" ID="btnNext" CommandName="Page" CommandArgument="Next" Font-Size="10px"
            Text="Next" Enabled="<%#Container.CurrentPageIndex + 1 < Container.PageCount %>" />
    <asp:Button runat="server" ID="btnLast" CommandName="Page" CommandArgument="Last" Font-Size="10px"
              Text="Last" Enabled="<%#Container.CurrentPageIndex + 1 < Container.PageCount %>" />
</div>

My problem is that the paging isn't working as in the example. In the example you have a datasource from a .rss, but in my code I am linking the datasource to a List<T> type. I also noticed that every time i press 'next' or 'prev' it triggers the page_load or onneeddatasource methods which recreate and bind the data again...so maybe this is whats causing the issue. But I don't know how to get around to this. I tried using Page.Ispostback in my user Control but fail to get the correct postback because it is getting the state of the Parent page's postback and not the usercontrol's.
Does anybody know how to set up paging correctly in this scenario?

Thanks!
Pero
Telerik team
 answered on 07 Jun 2011
1 answer
100 views
I am using Telerik on my page ..now i need password strength Control i got it fro asp ajax when i change the script Manager From RAd script Manager to toolkit script Manager it shows me Js Error.Below
Error: Sys.ArgumentNullException: Value cannot be null.Parameter name: panelsCreated[6].Send me the solution as soon as possible
Vasil
Telerik team
 answered on 07 Jun 2011
4 answers
162 views
Hi,
Is it possible to style header of columns in excel in ExcelExportCellFormatting event?
I have to add border to the first row with column name in excel.
wnl
Top achievements
Rank 1
 answered on 07 Jun 2011
1 answer
82 views
Hello everyone,

 I have a gridview that has a link button in it. Whenever the user clicks on the link button they are redirected to a  web page. the web page is same, but displays different data. There is a button at the top of the gridview that says export to MS word. whenever that button is clicked, I need to export all the web pages that the link button  redirects to into ms word. so for e.g.

A                B                C
12              xyz               PQR
13              RST             jpn

Clicking on any item in column  C redirects to a web page.
I want that when the user clicks on the ms word button then all these web pages are exported to MS word as seperate pages.

Please let me know if it is possible. I want to know if there is any elegant solution in Telerik controls.

Any help will be greatly appreciated.
Tsvetoslav
Telerik team
 answered on 07 Jun 2011
2 answers
203 views
Hi,

I'm wondering if there's an easy way to always displays both of the sort icons (up and down) for all columns in a grid, (when AllowNaturalSort is set to false), all of the time. I know I can add the icons to the header cell myself, but was wondering if there was a cleaner approcach.

I know that the out of the box functionality is for a column to be clicked on, then the sort an icon appears beside the title letting the user see the column that we're sorting on and allowing them to "reverse" the sort.

The reason for this is the business user wants to limit the number of mouse clicks used for sorting... if this makes sense :-)

Thanks in advance for your help.


Rgds
Liam
Liam
Top achievements
Rank 1
 answered on 07 Jun 2011
1 answer
39 views
Hi All,

I would like to ask that I am migrating from Classic RadMenu to ASP.NET AJAX radMenu, following is my code for Classic control. Can any please tell me code for ASP.NET AJAX



MenuGroup TopGroup = new MenuGroup(rmColumnPicker);
TopGroup.CssClass = "CP_MenuGroup";
rmColumnPicker.RootGroup = TopGroup;


Telerik.WebControls.MenuItem miRoot = new Telerik.WebControls.MenuItem(this.rmColumnPicker.RootGroup);
miRoot.ID = "miRoot";
miRoot.Width = 164;
miRoot.Text = "Column Picker";
miRoot.RightLogo = "../RadControls/Menu/Skins/IWFAlertMenu/dropdown.gif";
miRoot.RightLogoDisabled = "../RadControls/Menu/Skins/IWFAlertMenu/dropdownDisabled.gif";
miRoot.RightLogoClicked = "../RadControls/Menu/Skins/IWFAlertMenu/dropdown.gif";
miRoot.CssClass = "CP_MainItem";
miRoot.CssClassOver = "CP_MainItemOver";
miRoot.CssClassDisabled = "CP_MainItemDisabled";
this.rmColumnPicker.RootGroup.AddItem(miRoot);

rmColumnPicker is my Classic RADMENU
Shinu
Top achievements
Rank 2
 answered on 07 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?