Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
102 views

Hi,

i have a rad grid and i want to open popup to get data from web service and attach the column in grid.
in my grid auto add/edit and delete is true...

subActionTableView.AllowAutomaticDeletes = true;
            subActionTableView.AllowAutomaticUpdates = true;
            subActionTableView.AllowAutomaticInserts = true;
            subActionTableView.AutoGenerateColumns = false;

if i am using hyperlink colum then the link is not coming in add/edit popup window.

GridHyperLinkColumn hyperlinkColumn = new GridHyperLinkColumn();
            hyperlinkColumn.HeaderText = "AIPS Task";
            hyperlinkColumn.DataNavigateUrlFields = new string[] { "TaskId" };
            hyperlinkColumn.DataTextField = "EpssTask";
            hyperlinkColumn.Target = "_blank";
            hyperlinkColumn.DataNavigateUrlFormatString = "../TaskSelector.aspx?disableMaster=1";
            hyperlinkColumn.HeaderStyle.Width = new Unit("71");
            subActionTableView.Columns.Add(hyperlinkColumn);

please suggest...

waiting for your reply.
bharat kumar
Top achievements
Rank 1
 asked on 18 Nov 2010
1 answer
139 views
Hi all,

I'm using AsyncUpload with RadAjaxManager and RadBinaryImage to upload images, and preview them immediately in the page, before the Page Postback. This works fine, the preview works very well; I used the exact same setup as is shown in the "Ajax processing" sample.

However, I'd like to know which file was uploaded, when my page is posted back properly by the user. Unfortunately, the AsyncUpload1.UploadedFiles collection is empty. If I disable the RadAjaxManager.ajaxRequest() call (thereby disabling the preview), the UploadedFiles collection does work.

Is there a way to let these techniques work together? How can I retain info about the uploaded files until postback?

Thanks for any info.
Genady Sergeev
Telerik team
 answered on 18 Nov 2010
2 answers
28 views
<telerik:RadWindow runat="server" ID="radWindowSaved" AutoSize="true" Modal="true"
    VisibleStatusbar="false" VisibleTitlebar="false" Behaviors="None" Width="400px"
    Height="280px">
    <ContentTemplate>
        <div id="SavedPopUp" class="PopUp">
            <div id="SavedPopUpContent" class="PopUpContent">
                <img src="../../images/floppy-disk-icon_64x64.gif" style="position: absolute; top: 24px;
                    left: 22px" />
                <div style="position: absolute; left: 104px; top: 42px; width: 278px;">
                    <span class="TQWarningHeaderContent">Form has been saved.</span>
                </div>
                <div class="PopUpOKButton">
                    <input type="button" name="SavedPopUpOK" value="OK" id="SavedPopUpOK" class="TQButtonActive"
                        style="width: 105px;" onclick="CloseWindow($find(radWindowSaved));" /></div>
            </div>
        </div>
    </ContentTemplate>
</telerik:RadWindow>

I have the above code which renders fine in IE8 and FF 3.x but in IE 6 and 7 (compatibility mode) it is not rendered correctly. I even  tried specifying a Height and Width along with AutoSize="true".

Please help!
p
Top achievements
Rank 1
 answered on 18 Nov 2010
1 answer
27 views
Hi,
Is there any way so that the position of the splitbar should not change when the panel get collapsed?
Dobromir
Telerik team
 answered on 18 Nov 2010
7 answers
139 views
I have tried to get this working for the 2009 release, but I am having no luck.

http://www.telerik.com/community/forums/aspnet/calendar/popup-calendar-does-not-close-when-clicking-on-scrollbars.aspx

What I need to be able to do is close all (telerik) datepicker, timepicker, colorpicker, combo popup windows when I scroll, as I do not know the name of these controls at design time as they are dynamically loaded I need some way of getting them all.

Combo is easy as there is an array

        function closeCombos() {
            for (i = 0; i < Telerik.Web.UI.RadComboBox.ComboBoxes.length; ++i) {
                Telerik.Web.UI.RadComboBox.ComboBoxes[i].hideDropDown();
            }
        }
Richard M
Top achievements
Rank 1
 answered on 18 Nov 2010
6 answers
296 views
Is it possible to expose the context menu when the user performs a single left-click on a time-slot? 
Veronica
Telerik team
 answered on 18 Nov 2010
1 answer
156 views
Hi guys,

I have a problem in bringing up scrolling for gridtalbeview, here is the code

<DetailTables>  
                                                   
                <telerik:GridTableView    AutoGenerateColumns="false" ItemStyle-CssClass="RadGridview"   DataKeyNames = "CGTASK_ID,Confirmed" Name="Schedules" AllowSorting="true"  Width="100%"   InsertItemPageIndexAction="ShowItemOnFirstPage" HierarchyDefaultExpanded="True">
                    
                    <ParentTableRelation>
                        <telerik:GridRelationFields DetailKeyField="ClientID" MasterKeyField="ClientID" />
                    </ParentTableRelation>
                    
                    <Columns>                          
 
                          <telerik:GridBoundColumn  HeaderText="Date"        ItemStyle-HorizontalAlign="Left"  HeaderStyle-HorizontalAlign="Left"  ItemStyle-Width="8%" HeaderStyle-Width="8%"    DataField="VisitDate"   AllowSorting="true"    SortExpression="VisitDate">     </telerik:GridBoundColumn>                                                                                                                                                                                             
                          <telerik:GridTemplateColumn UniqueName="CaregiverEditColumn" SortExpression="CaregiverNamewithAssign" ItemStyle-Width="22%" HeaderStyle-Width="22%"  Reorderable="true" >
                             <HeaderTemplate>
                                   <asp:Label ID="lbl_cgName"     runat="server"     Text="Clinician Name"></asp:Label>
                             </HeaderTemplate>
                             <ItemTemplate>                             
                                <a href="<%#winlocation%>"><%# CaregiverNamewithAssign %></a> 
                             </ItemTemplate>
                             </telerik:GridTemplateColumn>
                             
                            
                             <telerik:GridBoundColumn  HeaderText="DISP"        ItemStyle-HorizontalAlign="Center"  HeaderStyle-HorizontalAlign="Center"  ItemStyle-Width="8%" HeaderStyle-Width="8%"    DataField="VPEDiscipline"  AllowSorting="true" SortExpression="Discipline">    </telerik:GridBoundColumn>
                             <telerik:GridBoundColumn  HeaderText="Job Code"    ItemStyle-HorizontalAlign="Center"  HeaderStyle-HorizontalAlign="Center"  ItemStyle-Width="8%" HeaderStyle-Width="8%" DataField="JobCode"        AllowSorting="true" SortExpression="JobCode">   </telerik:GridBoundColumn>
                             <telerik:GridBoundColumn  HeaderText="Description" ItemStyle-HorizontalAlign="Left"    HeaderStyle-HorizontalAlign="Left"  ItemStyle-Width="22%" HeaderStyle-Width="22%"  DataField="Description"    AllowSorting="true" SortExpression="Description">   </telerik:GridBoundColumn>
                              <telerik:GridTemplateColumn Visible="true" ItemStyle-HorizontalAlign="Center"  HeaderStyle-HorizontalAlign="Center" >
                             <HeaderTemplate>
                                  <asp:Label ID="lbl_cgconfirmed"  UniqueName="Child1Template" runat="server"  Text="Confirmed"></asp:Label>
                             </HeaderTemplate>
                             <ItemTemplate>
                                  <asp:CheckBox ID="chkbx_cgconfirmed"   runat="server" oncheckedchanged="chkbx_cgconfirmed_CheckedChanged" AutoPostBack="true" TaskId="<%#TaskID%>" />   
                             </ItemTemplate>                                                           
                             </telerik:GridTemplateColumn>  
                          
                             <telerik:GridBoundColumn  HeaderText="Start Time"  ItemStyle-HorizontalAlign="Center"  HeaderStyle-HorizontalAlign="Center"  ItemStyle-Width="8%" HeaderStyle-Width="8%"   DataField="StartTime"      AllowSorting="true" SortExpression="StartTime">     </telerik:GridBoundColumn>
                             <telerik:GridBoundColumn  HeaderText="End Time"    ItemStyle-HorizontalAlign="Center"  HeaderStyle-HorizontalAlign="Center"  ItemStyle-Width="8%" HeaderStyle-Width="8%" DataField="EndTime"        AllowSorting="true" SortExpression="EndTime">       </telerik:GridBoundColumn>                           
                             <telerik:GridBoundColumn  HeaderText="Total Hours" ItemStyle-HorizontalAlign="Center"  HeaderStyle-HorizontalAlign="Center"  ItemStyle-Width="8%" HeaderStyle-Width="8%" DataField="TotalHours"     AllowSorting="true" SortExpression="TotalHours">    </telerik:GridBoundColumn>                                                                                                                                                   
                             <telerik:GridBoundColumn     HeaderText="Status"   ItemStyle-HorizontalAlign="Left"  HeaderStyle-HorizontalAlign="Left"  ItemStyle-Width="8%" HeaderStyle-Width="8%" DataField="Status"  SortExpression="Status"> </telerik:GridBoundColumn>                        
                    </Columns>     

        <ClientSettings >
        <Scrolling AllowScroll="true" UseStaticHeaders="false" SaveScrollPosition="true">
        </Scrolling>
        </ClientSettings>

                              
                </telerik:GridTableView>
            </DetailTables>
            
        </MasterTableView>

    which is very important to have this functionality, any help on this would be appreciated.

with regards
Raju
Pavlina
Telerik team
 answered on 18 Nov 2010
4 answers
275 views
I have a grid with the auto-filter row enabled, ie:  

<

 

telerik:RadGrid ... AllowFilteringByColumn="True" />

 


I have a number of GridNumericColumn within the grid, ie:

<

 

telerik:GridNumericColumn DataField="CityId" DataType="System.Int32" HeaderText="ID" SortExpression="CityId" UniqueName="CityId" CurrentFilterFunction="EqualTo" ShowFilterIcon="false" AutoPostBackOnFilter="true"/>

 


When filtering for an ID above 1000, the filter row displays the identifier with a thousands seperator...
As an example, take a look at the following image:  http://screencast.com/t/MjdjMmUyNWY  (captured with Techsmith's Jing).

Is there a way to eliminate the thousand's seperator?

Thanks,

Roy
Josep Bonet
Top achievements
Rank 1
 answered on 18 Nov 2010
2 answers
415 views
Dear Forum,

I've just had Q2 2010 installed (2010.2.713.40) and I am using VS 2008. When I try to add the new reference to my project, VS finds the reference but there is a little yellow triangle and exclamation point over the reference item in the references list and I get this error

Warning 34 The referenced component 'Telerik.Web.Design' could not be found.  

Also, VS did not updat my web.config file. I'm kind of new at these Telerik controls, can someone help me out here?

Oh, there's another error:
Warning 8 Resolved file has a bad image, no metadata, or is otherwise inaccessible. Could not load file or assembly 'C:\Program Files\Telerik\RadControls for ASP.NET AJAX Q2 2010\Bin40\Telerik.Web.Design.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. UI


Thanks,
Celeste
Celeste
Top achievements
Rank 1
 answered on 18 Nov 2010
1 answer
52 views
Hello,

I am looking to insert an appointment for the scheduler but from a different page. The user will be able to setup an appointment/task from a different screen and then look at their scheduler later if need be.

I am concerened about the reminder field as it is a unique format and I am not sure how to recreate this so that it will work correctly when the user is viewing their schedule at a later time.

Thanks,
Ronny
Veronica
Telerik team
 answered on 18 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?