Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
66 views
WebBlue skin. IE6.
Rumen
Telerik team
 answered on 11 Sep 2008
2 answers
153 views
Here's my question:

Person 1 is looking at a RadGrid with 20 rows and a column name of "Units Sold".  

Person 2 is updating the quantity of units sold for an item from one of the rows on another computer. 

Can person 1 see the updated "Units Sold" without rebinding the whole grid? 

Or do we have to rebind the grid using a timer to make it look transparent to person 1?

Something similar to this but not refreshnig the WHOLE Grid.:
http://demos.telerik.com/ASPNET/Prometheus/Controls/Examples/Integration/AspAjaxGridApplication/DefaultCS.aspx?product=grid




Mike
Top achievements
Rank 1
 answered on 11 Sep 2008
1 answer
100 views
Is it possible to use the RadDock with the titlebar but disable drag and drop?
Sophy
Telerik team
 answered on 11 Sep 2008
3 answers
321 views
When selected index changes, I populate several fields out side the grid.  The user can then make changes to a couple of the fields.  Also outside the grid is a save button, that sends changes to the database.  Inside the save button's click event I call the grid's rebind method.  This in turn calls the grid's NeedDataSource event handler.  I set a break in this method, I can see the updated data in the datatable.  I set the grid's datasource property equal to the datatable.  I expect the data in the grid to be updated, but nothing happens.
bill
Top achievements
Rank 1
 answered on 11 Sep 2008
1 answer
106 views
Hi,

Hope you can help me out with this question. Is is possible to open up to the directory and display the image when an image is selected and the Image Manager is being opened from the editor? Rather then always displaying the root directories.

Cheers
George
Telerik team
 answered on 11 Sep 2008
1 answer
224 views
I have an area of my web page that I want to expand/collapse.  I would like to be able to have a panel bar that has one item, that I can expand and collapse.  Is this possible?  If not, is there a comparable control I could use instead?
Atanas Korchev
Telerik team
 answered on 11 Sep 2008
11 answers
579 views
I like to keep all my code clean and thus I hate using datasources in my aspx pages.  Instead I like to try and do it all via the codebehind.  This however is posing a problem as I cannot delete records and I don't know where I am going wrong.

aspx
        <telerik:RadGrid OnItemDeleted="RadGrid1_ItemDeleted"   
                         OnItemUpdated="RadGrid1_ItemUpdated"   
                         ID="RadGrid1"   
                         runat="server"   
                         Skin="Office2007"   
                         AllowPaging="true"   
                         AutoGenerateColumns="false"   
                         AllowSorting="true" 
                         AllowAutomaticDeletes="true"   
                         AllowAutomaticUpdates="true">  
            <PagerStyle Mode="NextPrevAndNumeric" /> 
            <MasterTableView TableLayout="Auto" DataKeyNames="ID">  
                <RowIndicatorColumn> 
                    <HeaderStyle Width="20px" /> 
                </RowIndicatorColumn> 
                <ExpandCollapseColumn> 
                    <HeaderStyle Width="20px" /> 
                </ExpandCollapseColumn> 
                <Columns> 
                    <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn" /> 
                    <telerik:GridBoundColumn DataField="Title" HeaderText="Page Title" UniqueName="Title" Visible="true" ReadOnly="false" /> 
                    <telerik:GridBoundColumn DataField="MenuName" HeaderText="Menu Name" UniqueName="MenuName" Visible="true" ReadOnly="false" /> 
                    <telerik:GridTemplateColumn DataField="DateUpdated" HeaderText="Last Updated" UniqueName="DateUpdatedDisplay">  
                        <ItemTemplate> 
                            <asp:Label ID="lblDateUpdated" runat="server" Text='<%# FormatDate(DataBinder.Eval(Container.DataItem, "DateUpdated")) %>' /> 
                        </ItemTemplate> 
                    </telerik:GridTemplateColumn> 
                    <telerik:GridTemplateColumn DataField="DateCreated" HeaderText="Date Created" UniqueName="DateCreatedDisplay">  
                        <ItemTemplate> 
                            <asp:Label ID="lblDateCreated" runat="server" Text='<%# FormatDate(DataBinder.Eval(Container.DataItem, "DateCreated")) %>' /> 
                        </ItemTemplate> 
                    </telerik:GridTemplateColumn> 
                    <telerik:GridBoundColumn DataField="UpdatedBy" HeaderText="Updated By" UniqueName="UpdatedBy" Visible="true" ReadOnly="true" /> 
                    <telerik:GridBoundColumn DataField="isHomePage" HeaderText="Home Page" UniqueName="isHomePage" Visible="false" ReadOnly="false" /> 
                    <telerik:GridBoundColumn DataField="MetaKeywords" HeaderText="Meta Keywords" UniqueName="MetaKeywords" Visible="false" ReadOnly="false" /> 
                    <telerik:GridBoundColumn DataField="MetaDescription" HeaderText="Meta Description" UniqueName="MetaDescription" Visible="false" ReadOnly="false" /> 
                    <telerik:GridButtonColumn ConfirmText="Delete this page?" ConfirmTitle="Delete" ButtonType="ImageButton" CommandName="Delete" Text="Delete" UniqueName="DeleteColumn">  
                        <ItemStyle HorizontalAlign="Center" Width="50px" /> 
                    </telerik:GridButtonColumn> 
                </Columns> 
            </MasterTableView> 
        </telerik:RadGrid> 

aspx.vb
    Protected Sub Page_Load(ByVal sender As ObjectByVal e As System.EventArgs) Handles Me.Load  
        Dim PagesDC As New Dal.icms_PagesDataContext  
        Dim results = PagesDC.icms_Pages_GetPages  
        RadGrid1.DataSource = results  
        RadGrid1.DataBind()  
    End Sub 
 
    Protected Sub RadGrid1_ItemDeleted(ByVal source As ObjectByVal e As Telerik.Web.UI.GridDeletedEventArgs) Handles RadGrid1.ItemDeleted  
 
        Dim i As GridDataItem = DirectCast(e.Item, GridDataItem)  
        Dim ID As String = i.OwnerTableView.DataKeyValues(i.ItemIndex)("ID").ToString  
 
        Dim PagesDC As New Dal.icms_PagesDataContext  
        Dim item As GridDataItem = DirectCast(e.Item, GridDataItem)  
        Dim results = PagesDC.icms_Pages_DeletePageByID(Convert.ToInt32(i))  
        RadGrid1.Rebind()  
    End Sub 
Chase Florell
Top achievements
Rank 1
 answered on 11 Sep 2008
1 answer
124 views
Hello.

i have some Masked input on my web page, and i would like to know how could i display an error message rigth beside the input.

thanks in advanced.
Maria Ilieva
Telerik team
 answered on 11 Sep 2008
1 answer
241 views
Hi.

i have a radgrid and a i need to validate before insertion or update some fields with a regular expression, how can i do this.


thanks in advanced.
Missing User
 answered on 11 Sep 2008
1 answer
71 views
qwe


 
<form id="form1" runat="server"
    <asp:ScriptManager ID="ScriptManager1" runat="server"
    </asp:ScriptManager> 
    <div> 
      <telerik:RadEditor ID="RadEditor1" runat="server" Width="680px" Height="550px" AllowScripts="True" 
        Skin="Default2006" Language="es-CL" 
        ToolsFile="editor/ToolsFile.xml"
      </telerik:RadEditor> 
    </div> 
    <asp:ImageButton ID="ibt1" runat="server" OnClientClick="muestraID()" /> 
    <asp:ImageButton ID="ibt2" runat="server" OnClientClick="muestraIDFromJSFile()" /> 
 
    <script type="text/javascript" language="javascript"
      function muestraID() 
      { 
         var editor = $find("<%=RadEditor1.ClientID%>"); //get a reference to RadEditor client object 
         alert(editor.get_id()); //returns RadEditor Client ID 
         return; 
      } 
    </script> 
    <script type="text/javascript" language="javascript" src="test.js"></script> 
  </form> 

function muestraIDFromJSFile() 
   var editor = $find("<%=RadEditor1.ClientID%>"); 
   alert(editor.get_id());  

The reference to editor, doesn't work from a JS file. Im migrating from the old Edtiro (RadControls) and it workd before.

Any ideas?
Georgi Tunev
Telerik team
 answered on 11 Sep 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?