Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
154 views
hi i noticed with the excel like radgrid sample found here (http://www.telerik.com/community/code-library/aspnet-ajax/grid/excel-like-radgrid.aspx) that the backspace button doesnt work when i am highlighting a text i wish to edit..

also is there a way that the excel like grid has some columns that are
- pre-filled  rad comboboxes

because my goal is to have a Multi-insert rad grid
Vasil
Telerik team
 answered on 15 Jun 2011
1 answer
62 views
Hi, I am using RadGrid control into my web form and editing within grid. But when click on update then i am getting old values which has been picked up from database but i need to get new values added into grid text box. Please have a look on code guid me how may i fix this.

<

 

radGrid:RadGrid ID="gdViewOrders" runat ="server" AutoGenerateColumns="false"  AllowMultiRowSelection="false" EnableAJAX="true" AllowMultiRowEdit="true" OnEditCommand="gdViewOrder_EditMode" OnUpdateCommand="gdViewOrder_UpdateMode">

 

 

<MasterTableView EditMode="InPlace" DataKeyNames="OrdID">

 

 

<Columns>

 

 

    <radGrid:GridEditCommandColumn UniqueName="EditCommandColumn"></radGrid:GridEditCommandColumn>

 

 

    <radGrid:GridBoundColumn HeaderText="Order ID" DataField="OrdID" ReadOnly="true"></radGrid:GridBoundColumn>

 

 

    <radGrid:GridBoundColumn HeaderText="Name" DataField="CustName" UniqueName="Name"></radGrid:GridBoundColumn>

 

 

</Columns>

 

 

 

</MasterTableView>

 

 

</radGrid:RadGrid>

 


Code:

protected

 

void gdViewOrder_UpdateMode(object sender, Telerik.WebControls.GridCommandEventArgs e)

 

 

{

 

 

        GridEditableItem editedItem = (GridEditableItem)e.Item;

 

 

 

        int id = Convert.ToInt32(editedItem.GetDataKeyValue("OrdID"));

 

 

 

        string objName = (editedItem["Name"].Controls[0] as TextBox).Text;

 

 

        bool response = objOrders.UpdateOrder(id, objName, objAddress.Text, objSeller.Text, Convert.ToInt32(objStatus.Text));

 

 

 

        lblMessage.Text = "Order has not been updated successfully.";

 

 

}


Thanks
Shinu
Top achievements
Rank 2
 answered on 15 Jun 2011
1 answer
164 views
I am using RadTextbox in my program as a password:

<telerik:RadAjaxPanel ID="radAjaxPanelUserManagement" runat="server">
        <telerik:RadPanelBar runat="server" ID="radPanelBarUser" Width="100%">
            <Items>
                <telerik:RadPanelItem Enabled="True" Text="Add/Edit User" runat="server" Expanded="false"
                    Visible="false" Value="userMasterPanel">
                    <Items>
                        <telerik:RadPanelItem Enabled="True" runat="server" Value="userPanel" Expanded="false">
                            <ItemTemplate>

<asp:Label ID="lblTextboxPassword" runat="server" Text="Password " CssClass="custom-label"></asp:Label>
<telerik:RadTextBox ID="txtPassword" runat="server" CssClass="custom-txtbox" Rows="1" Width="175px" MaxLength="15" ShowButton="False" SelectionOnFocus="None" TextMode="Password" CausesValidation="true" TabIndex="4" >
</telerik:RadTextBox><asp:Label ID="lblTextboxConfirmPassword" runat="server" Text="Confirm Password "
                                                        CssClass="custom-label"></asp:Label>

<telerik:RadTextBox ID="txtConfirmPassword" runat="server" TextMode="Password" Rows="1"
                                                        MaxLength="15" Width="175px" CssClass="custom-txtbox" CausesValidation="true"
                                                        TabIndex="5" >
                                                    </telerik:RadTextBox>
</ItemTemplate>
                        </telerik:RadPanelItem>
                    </Items>
                </telerik:RadPanelItem>
            </Items>
            <CollapseAnimation Duration="100" Type="None" />
            <ExpandAnimation Duration="100" Type="None" />
        </telerik:RadPanelBar>
    </telerik:RadAjaxPanel>

Issue creates when i want to fill value of this text box on .cs file. That value is not showing on the web page.

public void editUser(Object sender, EventArgs arg)
{
     RadTextBox txtPassword = ((RadTextBox)radPanelBarUser.FindItemByValue(PureAnalyzer_WebApp.UserPanel).FindControl("txtPassword"));
            RadTextBox txtConfirmPassword = RadTextBox)radPanelBarUser.FindItemByValue(PureAnalyzer_WebApp.UserPanel).FindControl("txtConfirmPassword"));

txtPassword.Text="abc#123";
txtConfirmPassword .Text="abc#123";

}

In this code i want to fill value of fill some dynamic value to radtextbox but this shows as a blank. 
Please help me in this issue.
Iana Tsolova
Telerik team
 answered on 15 Jun 2011
1 answer
964 views
I have a grid where I am showing a price field with 5 decimal places, but I only want to show decimal places when I need them.

e.g.
1,234.56000 >>> I would like to look like  >>>> 1,234.56

Although in the same grid I could have >>>>> 0.98765

Thanks,
Chuck
Martin
Telerik team
 answered on 15 Jun 2011
1 answer
115 views

Hi,

Currently we are using RADEDITOR control with the version of 5.3.2.0.By using this control we are adding the reports and storing in the sharepoint publishing page.So the report is storing the following format in the Sharepoint list.

<div><iframe id="iframe_1" src="http://webURL"></iframe></div>
<p>RAD EDITOR CONTROL<br>\r\n<br>\r\nRAD EDITOR CONTROL</p>

Now my requirment is i want to chage the src value from http into https under iframe control.Here i have more than
500 pages with the src value of http.So to update the value for each page,i have created separate utiltiy and getting the src value of the page.If the src value has http://,replacing with https:// under iframe control.Its updating fine in the Sharepoint List.

But the problem is when you update with <iframe> control,the <iframe> control is storing as Empty.When i fetch the item again am getting the folllowing format.

<div> </div>
<p>RAD EDITOR CONTROL<br>\r\n<br>\r\nRAD EDITOR CONTROL</p>

Content is storing (RAD EDITOR CONTROL) fine with out any issues.But am not sure Why its not updating with IFrame control in SPListItem update.Please let me know.Wating for your reply

With Regards,
Rajesh

 

Stanimir
Telerik team
 answered on 15 Jun 2011
1 answer
91 views
Hi,
I am using radgrid to display user information.( name, position, company, IsExternal, IsPreferred)
Each row will have edit button.
When user clicks edit button, if that user is external user, the all fields will be editable.
If the user is Internal user, then only Ispreferred should be editable, and all other fields should be readonly.

Any help pls,
Thanks,
pams
Princy
Top achievements
Rank 2
 answered on 15 Jun 2011
1 answer
95 views
Hi,

I want to use grouping functionality on a Enum field, so in GridGroupByField I want to put a Text instead of enum integer value, is that possible?

Regards
Mazdak
Vasil
Telerik team
 answered on 15 Jun 2011
3 answers
85 views
Hi,
I added an appointment from 3-3-11 to 25-3-11.Then i took week view.Clicking on the side arrow button it shows the next week with the event.But when i took the week view of the calendar that is last week 3/20/2011 - 3/26/2011,the appointment for the last day is displaying separately.Is there is any way to display it correctly?.I have attached a screen shot with this.Please check it.
Veronica
Telerik team
 answered on 15 Jun 2011
2 answers
49 views
I have a RadScheduler which will display the appointments.And on right clicking this appointment will show the details in a RadWindow.In order to show the radwindow i have used the OnFormCreating event where i check whether it is AdvancedEdit or Edit.If it is Edit or AdvancedEdit the details are populated in RadWindow.The problem is that after any Appointment is shown in Radwindow clicking on Day or Week or Month will display the RadWindow with the earlier selected Appointmnet's details.So what to do?

Thanks in Advance
Deepak
deepak
Top achievements
Rank 2
 answered on 15 Jun 2011
1 answer
92 views
Hi,
I am using telerik RAD Editor 5.6.0.0, when I am trying to check or uncheck auto update option in reusable content list no matter what, it is always getting reflected in the RAD Editor box, means auto update is not working. Can you please help me.

Regards
Islam
Stanimir
Telerik team
 answered on 15 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
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
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
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?