Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
372 views
how can I have GridBoundColumn called password and have this password show in TextMode = "password" that no one can see what is the password is for security reason..

I have RadGrid that has edit, insert, delete, update events...
Kannan
Top achievements
Rank 1
 answered on 29 Dec 2010
4 answers
602 views
I want to create a listbox dynamically and I want to put radiobuttons and Checkboxes in the listbox.
I want the listbox to be something like this:

<telerik:RadListBox runat="server" ID="RadListBox">
  <ItemTemplate>
     <table>
        <tr>
           <td>
              <asp:CheckBox ID="CheckBox1" runat="server" onclick="stopPropagation(event, this);" />
           </td>
           <td>
               <asp:RadioButton ID="RadioButton1" runat="server" GroupName="Type" onclick="SetUniqueRadioButton();" />
           </td>
           <td>
                <%# DataBinder.Eval(Container.DataItem,"FullName") %>
           </td>
         </tr>
       </table>
    </ItemTemplate>
 </telerik:RadListBox>

I was having trouble creating a listbox dynamically with the item template as desired. Could you tell me how to create the control in the required manner from the code.
Genady Sergeev
Telerik team
 answered on 29 Dec 2010
1 answer
93 views

Hi all,

I have a radscheduler with an inline template with a disabled textbox:

<telerik:RadScheduler ID="RadScheduler1" runat="server" DataSourceID="ObjectDataSource1"

DataEndField="EndDateTime" DataKeyField="Id" DataStartField="StartDateTime" DataSubjectField="Subject"

OverflowBehavior="Expand" StartEditingInAdvancedForm="False">

<InlineEditTemplate>

<div class="rsAdvancedEdit">

<div class="rsAdvContentWrapper">

<telerik:RadTextBox ID="SubjectTextBox" runat="server" Text='<%# Bind("Subject") %>'

Enabled="False" />

</div>

</div>

</InlineEditTemplate>

</telerik:RadScheduler>

If I click on the disabled textbox I get an error: "Microsoft JScript runtime error: 'undefined' is null or not an object"

in line

var b=h.split(" ");

Is this a bug or am I missing something...

regards,

Johan

 

Peter
Telerik team
 answered on 29 Dec 2010
4 answers
115 views
Hi,
I have a web form with RadEditor and input text,I want to put the cursor in the text input, so i use this code from http://www.telerik.com/help/aspnet-ajax/editor_setfocus.html
<body onload="SetFocusOnTextBox();">
   <form id="form1" runat="server">
   <asp:ScriptManager id="ScriptManager" runat="server"/>                             
   <telerik:radeditor runat="server" ID="RadEditor1">
       <Content>
           Here is sample content!
       </Content>
   </telerik:radeditor>
   <input type="text" id="text"/>
   <input type="button" value="Set Focus On RadEditor" onclick="SetFocusOnRadEditor()" />
   <script type="text/javascript">
   function SetFocusOnRadEditor()
   {
       var editor = $find("<%=RadEditor1.ClientID%>"); //get a reference to RadEditor client object
       editor.setFocus(); //set the focus on the the editor
   }
   function SetFocusOnTextBox()
   {
       var editor = $get("text"); //get a reference to the input textbox with id text
       editor.focus(); //set the focus on the the textbox
   }
   </script>
   </form>
</body>

It's OK with Forefox or chrome , but not work with IE 8

dali
Top achievements
Rank 1
 answered on 29 Dec 2010
1 answer
87 views
Hi,

I want to filter templategridcolumn same way as google filtering .iI found example of google filtering for griddatabound column and it work perfectly fine.In same way ,I want to filter template column.

Thanks
Swarnlata
Princy
Top achievements
Rank 2
 answered on 29 Dec 2010
1 answer
158 views
Hello,
          I would like to know whether I can accomplish what we have in gmail using RadTreeView control. When the user clicks on inbox on the left, it connects inbox with the email section on the right. Is it possible when a user selects a node in RadTreeView control I want to connect the node with a box on the right.

Thanks,
Bharani
Shinu
Top achievements
Rank 2
 answered on 29 Dec 2010
1 answer
88 views
Hello in my grid .. top of the grid Add new button when i click the button that time want to show all filed that i want to add. Snapshot i attach to this post .. but when i click on grid Edit button want to show only two field for edit

how to achieve this .. how to allow field to edit .. how to disabled other field

In attach file .. shown
Game Name and Game Price . i want to update when  i click on edit button
other wise .
display all fields on Add new record



thanks


Radoslav
Telerik team
 answered on 29 Dec 2010
1 answer
88 views
Hi there Telerik Friends,

I've tried searching for hours and cannot find an answer to this problem. Either I'm going about it the wrong way, or I'm missing something. Hopefully one of you will take the time to help me out!

My question is this:

I have a RadGrid with NestedViewTemplate. I followed the example here. My little test works pretty slick.

Here is a picture of my work-in-progress.

As you'll see -- when you expand a user... you get different Tabs. On the "Tools" tab I have one button to "Delete User". Instead of using a button, doing a postback, and firing off some server-side code, I decided it would be nice to have a "Do you really want to delete this user?" prompt.

I tried following this example to do a "Confirm Postback". Doesn't work though :(

Well, after playing with it for a while...  it works if it's OUTSIDE the NestedViewTemplate... but not when it's buried inside. Anyone else have this issue? Any tips on how to resolve this?

Thanks so much for your time.

-Josh
Radoslav
Telerik team
 answered on 29 Dec 2010
2 answers
94 views
Now, I can't format "LastModifiedAt" column of RadFilter like as "dd/MM/yyyy hh:mm tt". I don't want to set Culture="tr-TR" Page.
Does other way  implement this format?
How to set this field focus?
How to asign ShorCutKey for "OnApplyExpressions" event?

My coding is below:
    <telerik:RadFilter ID="RadFilter1" runat="server"  OnApplyExpressions="radFilterGridControl_SearchGridData">
        <FieldEditors>
            <telerik:RadFilterDateFieldEditor FieldName="LastModifiedAt" DisplayName="LastModifiedAt" DataType="System.DateTime" />
        </FieldEditors>
    </telerik:RadFilter>
               
    <telerik:RadGrid ID="radGridControl" runat="server" AllowFilteringByColumn="True" AllowPaging="True"
         AllowSorting="True"
        GridLines="None">
        <MasterTableView AutoGenerateColumns="False"  >
            <Columns>

                <telerik:GridBoundColumn DataType="System.DateTime" DataField="LastModifiedAt" HeaderText="LastModifiedAt" >
                </telerik:GridBoundColumn>
            </Columns>
        </MasterTableView>
    </telerik:RadGrid>

Can you help me this problem?

Thanks,
Mr PhuongLD
Le Danh
Top achievements
Rank 1
 answered on 29 Dec 2010
1 answer
63 views
Folks,

Is it posssible to add additional controls and remove current controls of the Edit Appointment Box?

Cheers
Shinu
Top achievements
Rank 2
 answered on 29 Dec 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?