Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
78 views
Running a site through Functional Accessibility Evaluator (http://fae.cita.uiuc.edu/ ) I am failing because of nested tables being generated by Telerik.

<
tr class="rgCommandRow">
<td class="rgCommandCell" colspan="3"><table class="rgCommandTable" border="0" style="width:100%;">
<tr>

Any chance of getting this converted to a <div style="display:table"> in the next version????

Thanks!
Dimo
Telerik team
 answered on 07 Apr 2010
15 answers
142 views
Hi,

I would like to ask if the telerik treeview has this functionality that when the treeview has reached the 4th tier, no nodes can be dropped in that node.

For example:
Parent 1
 >child 1
    >granchild 1
        >grandchild 2
Parent 2

is there a way that i can prevent this if I try to drag and drop the parent 2 in the grandchild 2?

Thanks
Jhobs
Jo Bert
Top achievements
Rank 1
 answered on 07 Apr 2010
1 answer
142 views
I'm trying to use the AppointmentTemplate in a monthly scheduler to display appointments in a readonly fashion on my website.  The problem I'm having is that it only displays the first line and hides the second that displays the times.

Also, separate question, how do I tell the scheduler to go as high as it needs to?  If I leave out the height it make the itself scrollable.  I'd rather let it be as long as it needs to be to display the month it needs to show.

Thanx,

Eric
T. Tsonev
Telerik team
 answered on 07 Apr 2010
2 answers
212 views
<EditItemTemplate> 
                                                        <asp:TextBox ID="txtAdminPhoneNumberEdit" runat="server" text='<%# Bind("Phone")%>' 
                                                        MaxLength="17" width"100%" onkeypress="return isNumericKey(event)"></asp:TextBox> 
                                                        <asp:Label ID="lblPhoneIdEdit" runat="server" Visible="False" text='<% # Bind("PhoneID")%>' 
                                                         CommandName="Update" CommandArgument="Phone Edit" AutoPostBack="true" ontextchanged="txttxtAdminPhoneNumberEdit_TextChanged">                                                          
                                                        </asp:Label> 
                                                        <ajax:AutoCompleteExtender ID="AutoCompleteExtenderDemo" runat="server"   
                                                        TargetControlID="txtAdminPhoneNumberEdit"   
                                                        ServiceMethod="GetCompletionList" MinimumPrefixLength="3" CompletionInterval="1000"            
                                                         EnableCaching="true" CompletionSetCount="20">          
                                                         </ajax:AutoCompleteExtender> 
                                                    </EditItemTemplate>       
trying to get this auto postbacked, unsucessfull ..any suggestions ?
Prangadj
Top achievements
Rank 1
 answered on 07 Apr 2010
1 answer
1.8K+ views
just with replace it, the pages says

Parser Error Message: Could not load file or assembly 'Telerik.Web.UI, Version=2009.3.1103.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

the server is running very much service, so do not restart IIS, restart website and pool instead.
the code is builded use the new dll already.



Princy
Top achievements
Rank 2
 answered on 07 Apr 2010
3 answers
161 views

Please refer to this sample below
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/usercontroleditform/defaultcs.aspx

As you can see that there is postback on add new button or edit button or delete button

I want to render the controls selectively and do some processing on postback generated from grid.
When i check form's eventargument or target it is null.

Is there a way i can figure out which button generated event from the grid in user control?

regards
Mac
Yavor
Telerik team
 answered on 07 Apr 2010
1 answer
209 views
Hi there,

im trying to do something similar to what is listed in the demo here except that i don't want return the values onclientclose. i need to make the parent window refresh without closing the radwindow.

So i currently have a Radwindow which has a save button on it. When the save button is clicked in the radwindow it will save some values in the code-behind and then it must refresh the parent window.

Can this be done? Im really stuck
Shinu
Top achievements
Rank 2
 answered on 07 Apr 2010
7 answers
289 views
I have the following in my columns tag of my grid, however, nothing happens when I click ok in the confirm window.  The grid doesnt delete the row and the datasource doesnt either.  Is there something else needed to wire this up when using automatic CRUD and an entity datasource?

<telerik:GridButtonColumn CommandName="Delete" Text="Delete" ConfirmDialogType="RadWindow" ConfirmText="Delte this?" ConfirmTitle="Are you sure?" UniqueName= "DeleteColumn"></telerik:GridButtonColumn>

      <telerik:RadGrid ID="rgRequirements" runat="server" AllowAutomaticDeletes="True"  
            OnItemCommand="RadGrid1_ItemCommand" OnItemInserted="RadGrid1_ItemInserted" 
            AllowAutomaticInserts="True" AllowAutomaticUpdates="True"   
            AutoGenerateColumns="False" OnItemUpdated="RadGrid1_ItemUpdated" OnItemDeleted="RadGrid1_ItemDeleted" 
            DataSourceID="edsRequirement" GridLines="None" Width="550px"
        <MasterTableView AutoGenerateColumns="False" DataSourceID="edsRequirement" DataKeyNames="requirementID" EditMode="PopUp" CommandItemDisplay="Top"
            <RowIndicatorColumn> 
            <HeaderStyle Width="20px"></HeaderStyle> 
            </RowIndicatorColumn> 
            <ExpandCollapseColumn> 
            <HeaderStyle Width="20px"></HeaderStyle> 
            </ExpandCollapseColumn> 
            <commanditemsettings addnewrecordtext="Add new Requirement" /> 
             
            <Columns> 
                <telerik:GridBoundColumn DataField="requirement" HeaderText="Support Requirement"  ItemStyle-Width="300" SortExpression="requirement" UniqueName="requirement"
                    <ItemStyle Width="300px"></ItemStyle> 
                </telerik:GridBoundColumn> 
                <telerik:GridEditCommandColumn  ButtonType="LinkButton" EditText="Edit" HeaderStyle-Width="30" /> 
                <telerik:GridButtonColumn CommandName="Delete" Text="Delete" ConfirmDialogType="RadWindow" ConfirmText="Delte this?" ConfirmTitle="Are you sure?" UniqueName"DeleteColumn"></telerik:GridButtonColumn> 
            </Columns> 
             
            <EditFormSettings EditFormType="Template" InsertCaption="New Requirement" CaptionFormatString="Requirement"  
            PopUpSettings-Modal="true" PopUpSettings-Height="200"
                <FormTemplate> 
                <EditColumn UniqueName="EditCommandColumn1"></EditColumn> 
                <div class="formContent"
                        <telerik:RadTextBox runat="server" ID="tbCreated" Text='<%#Bind( "dateCreated") %>' Visible="false"></telerik:RadTextBox> 
                        <telerik:RadTextBox runat="server" ID="tbModified" Text='<%#Bind( "dateModified") %>' Visible="false"></telerik:RadTextBox>                         
                        Requirement: <cc1:HelpToolTip ID="HelpToolTip3" runat="server" HelpNode="Support Requirement"/><br />    
                           <telerik:RadTextBox runat="server" ID="requirement" Text='<%#Bind( "requirement") %>' 
                               Width="280px"  Rows="5" TextMode="MultiLine"/> 
                        <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator2" ControlToValidate="requirement"  Text="*" Display="Dynamic"/>     
                </div> 
                <div class="clear"/> 
                <div style="float:right;padding:10px;"
                    <asp:Button ID="Button1" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>' 
                        runat="server" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>'
                    </asp:Button>&nbsp; 
                    <asp:Button ID="Button2" Text="Cancel" runat="server" CausesValidation="False" CommandName="Cancel"
                    </asp:Button>    
                </div>    
                <div class="clear"/> 
                </FormTemplate>    
            </EditFormSettings> 
             
        </MasterTableView> 
        <ClientSettings> 
            <ClientEvents OnPopUpShowing="PopUpShowing" /> 
        </ClientSettings>         
      </telerik:RadGrid> 
       
        <asp:EntityDataSource ID="edsRequirement" runat="server" 
            ConnectionString="name=LSTDev_Entities" DefaultContainerName="LSTDev_Entities"  
            EnableDelete="True" EnableInsert="True" EnableUpdate="True"  
            EntitySetName="FormsLDPRequirement"
        </asp:EntityDataSource> 

Iana Tsolova
Telerik team
 answered on 07 Apr 2010
1 answer
80 views

I have a combox with ShowMoreResults and LoadOnDemand Enabled:

<

 

telerik:RadComboBox ID="AccountIndustryTypeId" runat="server" DataTextField="TypeName" DataValueField="AccountIndustryTypeId" EnableLoadOnDemand="True" ShowMoreResultsBox="true" EnableVirtualScrolling="true" OnItemsRequested="AccountIndustryTypeId_ItemsRequested" MarkFirstMatch="True" Width="400">  

</telerik:RadComboBox> 
And and ItemsRequested event to retrieve some results : 

protected

 

void AccountIndustryTypeId_ItemsRequested(object o, RadComboBoxItemsRequestedEventArgs e)  

 

 

DataTable types = AccountIndustryTypesDA.AccountIndustryTypesSelectList(e.Text, false);

 ((

RadComboBox) o).Items.Clear();

 

 

 

try
{

 

 

 

 

 

int itemOffset = e.NumberOfItems;   

 

int endOffset = itemOffset + 15;  

 

if (endOffset > types.Rows.Count)  

{

endOffset = types.Rows.Count;

 

for (int i = itemOffset; i < endOffset; i++)  

 

RadComboBoxItem item = new RadComboBoxItem(types.Rows[i]["TypeName"].ToString(), types.Rows[i]["AccountIndustryTypeId"].ToString());

((

RadComboBox)o).Items.Add(item);

 

 

}

e.Message = types.Rows.Count > 0 ?

 

String.Format("Items <b>1</b>-<b>{0}</b> out of <b>{1}</b>", endOffset.ToString(), types.Rows.Count.ToString()) : "No matches";

 

catch

 

 

{

 

e.Message =

 

"No matches";  

}

}

 


When the ShowMoreResults image is clicked but no more results are actually retrieved the ShowMoreResults box is adding blank space.  How can I stop this??

 

Veronica
Telerik team
 answered on 07 Apr 2010
2 answers
60 views
In my app, we have a RadGrid with a Master Table showing Purchase Orders (associated with a Project), plus a Detail Table showing the allocation of funds (Budgets) from a Purchase Order to various Subprojects

In order to add a new Purchase Order effectively, we also need to capture a Subproject, and I wondered if it's possible to have a field which is captured in the AddNew mode, but is hidden for Edit and List views?

Any ideas?

David
David Waldock
Top achievements
Rank 1
 answered on 07 Apr 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?