Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
114 views

Hi,

First let me explain the Code which I implemented:-

<telerik:RadGrid PageSize="3" AllowPaging="true" ID="rg_AddMainMenu" runat="server"

                                GridLines="Horizontal" Skin="Default" AllowAutomaticDeletes="True" OnNeedDataSource="rg_AddMainMenu_NeedDataSource"

                                Font-Strikeout="False" Font-Underline="False" OnInsertCommand="rg_AddMainMenu_InsertCommand"

……….">

                                <PagerStyle Mode="Slider" />

                                <MasterTableView AutoGenerateColumns="false" DataKeyNames="MAINMENUID" EditMode="EditForms"

                                    CommandItemDisplay="TopAndBottom">

                                    <RowIndicatorColumn Visible="False">

                                        <HeaderStyle Width="20px"></HeaderStyle>

                                    </RowIndicatorColumn>

                                    <ExpandCollapseColumn Visible="False" Resizable="False">

                                        <HeaderStyle Width="20px"></HeaderStyle>

                                    </ExpandCollapseColumn>

                                    <Columns>

                                        <telerik:GridEditCommandColumn>

                                        </telerik:GridEditCommandColumn>

                                        <telerik:GridBoundColumn ReadOnly="true" Visible="false" HeaderText="MainMenu ID"

                                            DataField="MAINMENUID" UniqueName="MAINMENUID" />

                                        <telerik:GridBoundColumn ReadOnly="false" HeaderText="MainMenu Name" DataField="MAINMENUNAME"

                                            UniqueName="MAINMENUNAME" />

                                        <telerik:GridBoundColumn ReadOnly="false" HeaderText="Description" DataField="MAINMENUDESC"

                                            UniqueName="MAINMENUDESC" />

                               

                                        <telerik:GridTemplateColumn HeaderText="Active" DataField="DELETEDFLAG" UniqueName="">

                                            <ItemTemplate>

                                                <asp:CheckBox runat="server" OnCheckedChanged="chkMenustatus_CheckedChanged" ID="chkMenustatus" Checked='<%# Bind("IsActive") %>'

                                        AutoPostBack="true"  />

                                            </ItemTemplate>

                                        </telerik:GridTemplateColumn>

                                    </Columns>

                                    <EditFormSettings EditFormType="Template">

                                        <EditColumn UniqueName="EditCommandColumn1">

                                        </EditColumn>

                                        <FormTemplate>

                                            <table id="Table2" cellspacing="2" cellpadding="1" class="TableBackGround" width="100%"

                                                border="1" rules="none" style="border-collapse: collapse">

                                                <tr>

                                                    <td align="center">

                                                        <table id="Table3" cellspacing="1" class="TableBackGround" cellpadding="1" border="0">

So On….

> 

                                    </EditFormSettings>

                                </MasterTableView>

                            </telerik:RadGrid>

C#:-

protected void chkMenustatus_CheckedChanged(object sender, EventArgs e)

{

//Actually I want to capture the ID of selected Checked Row

}

Q:-

I had 4 Columns named by MenuID, MName, Desc, IsActive(Menu Stagtus)

When ever I will change the checked status of the CheckBox, I have to capture the MenuID and change Status of Menu.

So finally I want to capture the MenuID when I change CheckBox status?

Please help me in this regards.

Princy
Top achievements
Rank 2
 answered on 22 Jul 2008
6 answers
102 views
Hi all,

I see there is sample code for the RadEditor, here, to populate the custom links with sitemap data.

How can this be modified to work with Prometheus editor?

Thanks!!
David
George
Telerik team
 answered on 22 Jul 2008
1 answer
93 views
Hi Telerik Team,
I'm observing some sluggish client side behavior when placing as few as 5 RadTextBox elements on the same page.  There's a quarter-second delay between hovering over a RadTextBox and seeing the textbox highlight.  The delay also prevents the user from setting focus to the textbox.

This does not occur in IE6, Firefox 3, or Firefox 2.

The RadTextBox's are sitting inside a Content Page, and all have "EnableEmbeddedSkins" set to false since we're using custom skins.  Any suggestions?

Thank you,
Max
Konstantin Petkov
Telerik team
 answered on 22 Jul 2008
1 answer
80 views
Hello,

It seems that when we paste from word our superscripts in the word doc don't get translated properly - they get turned into:

<span class="BodySuperscript">1,2</span>

Instead of: .<sup>1,2</sup>

Can you provide any insight into why this is happening?

Thanks,
Christian
Rumen
Telerik team
 answered on 22 Jul 2008
1 answer
108 views
What is the best way to let the user click a row in the grid to see/modify the information related to the row (in a separate form), but still give the user the ability to cancel the action.

Here is the scenario:
1) The user click a row to display a detail form
2) The user modify the content
3) The user click a different row
4) The system warn the user that changes have been made and those changes will be lost if he decide to continue
5) The user decide to cancel the action
6) The postback does not occur.

Currently, if EnablePostBackOnRowClick is true, the action cannot be cancelled.

What are the other options to achieve the goal.

Thanks,

Hugues
Princy
Top achievements
Rank 2
 answered on 22 Jul 2008
2 answers
138 views
In the top left corner of my grid, there is a insert icon and text, I want to remove it.

thanks!
john
Top achievements
Rank 1
 answered on 22 Jul 2008
1 answer
86 views
Is it possible to have the client-side selection of a RadGrid row change the Enabled property of an ASP LinkButton elsewhere on the page?
Vlad
Telerik team
 answered on 22 Jul 2008
11 answers
318 views
If there are items in the table feeding the grid the grid will display the items.

If there are no items in the table I want to display the grid with the edit form showing, just as if the user had clicked "Add new item". Edit Mode is InPlace but I am using ItemTemplate and EditItemTemplate to present the data on a form.

I could manually add a new item to the table and then use  grd.EditIndexes.Add(0) to force the grid to edit the item. This would leave a blank item in the table if the user clicked cancel that I would then have to code for.

There must be a simple way of forcing the grid into "Add new" and hence edit mode.

Declan
Vlad
Telerik team
 answered on 22 Jul 2008
6 answers
412 views
Hi,

I am having a application which works with students and teachers using SQL Database.

Now! i want to implement the Task scheduler using RAD Scheduler control.
I want to use the SQL Database as data source for RAD Scheduler control.

Can you help me that how can i modify my database, so that i can attach that with Rad Scheduler control.
I didnt found anything in online help(may be i am missing something).
Please Let me know if anyone have any idea or sample or any link of online help which describe the above problem.

Thanks in advance
manoj
Top achievements
Rank 1
 answered on 22 Jul 2008
4 answers
104 views
hi all,

inherited web project, given telerik bundle to work with.  everything works until using radchart.  i get this message:

"The Chart http handler is not registered. Please, manually add the following line to your Web.config httpHandlers section:
<add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Version=2008.1.515.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />"


So i went and updated the web.config file where it told me to, but i get a blue underline on the word "add" in at the front of the tag <add....  .
I also get this runtime parser error:
"Parser Error Message: Unrecognized configuration section system.web/add."

Any suggestions?  Many thanks in advance. :)
dude
Top achievements
Rank 1
 answered on 22 Jul 2008
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?