Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
208 views
Hi all,

I'm trying to install the Radcontrols for ASPNET AJAX on my development machine, which is a VMWare Windows 2008 server box. It has ASPNET AJAX extensions already installed.

Everytime i run the msi, i get the error message "This installation package is not supported by this processor type. Contact your product vendor." - almost like im trying to install a 64bit package on a 32bit system. I turned on the installation logging, and this is what was created:

=== Verbose logging started: 24/07/2010  11:35:29  Build type: SHIP UNICODE 4.00.6001.00  Calling process: C:\Windows\system32\msiexec.exe ===
MSI (c) (8C:50) [11:35:29:924]: Resetting cached policy values
MSI (c) (8C:50) [11:35:29:924]: Machine policy value 'Debug' is 0
MSI (c) (8C:50) [11:35:29:924]: ******* RunEngine:
           ******* Product: RadControls_for_ASP.NET_AJAX_and_SharePoint_2010_Trial.msi
           ******* Action:
           ******* CommandLine: **********
MSI (c) (8C:50) [11:35:29:944]: Machine policy value 'DisableUserInstalls' is 0
MSI (c) (8C:50) [11:35:29:964]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer 3: 2
MSI (c) (8C:50) [11:35:30:044]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\Users\Administrator\Desktop\RadControls_for_ASP.NET_AJAX_and_SharePoint_2010_Trial.msi' against software restriction policy
MSI (c) (8C:50) [11:35:30:044]: SOFTWARE RESTRICTION POLICY: C:\Users\Administrator\Desktop\RadControls_for_ASP.NET_AJAX_and_SharePoint_2010_Trial.msi has a digital signature
MSI (c) (8C:50) [11:35:30:295]: SOFTWARE RESTRICTION POLICY: C:\Users\Administrator\Desktop\RadControls_for_ASP.NET_AJAX_and_SharePoint_2010_Trial.msi is permitted to run at the 'unrestricted' authorization level.
MSI (c) (8C:50) [11:35:30:305]: Cloaking enabled.
MSI (c) (8C:50) [11:35:30:305]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (8C:50) [11:35:30:315]: End dialog not enabled
MSI (c) (8C:50) [11:35:30:315]: Original package ==> C:\Users\Administrator\Desktop\RadControls_for_ASP.NET_AJAX_and_SharePoint_2010_Trial.msi
MSI (c) (8C:50) [11:35:30:315]: Package we're running from ==> C:\Users\ADMINI~1\AppData\Local\Temp\a9c35.msi
MSI (c) (8C:50) [11:35:30:325]: APPCOMPAT: looking for appcompat database entry with ProductCode '{043FDB31-C11F-4E01-B509-E709921DA973}'.
MSI (c) (8C:50) [11:35:30:325]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (8C:50) [11:35:30:325]: MSCOREE not loaded loading copy from system32
This installation package is not supported by this processor type. Contact your product vendor.
C:\Users\Administrator\Desktop\RadControls_for_ASP.NET_AJAX_and_SharePoint_2010_Trial.msi
MSI (c) (8C:50) [11:35:30:335]: Note: 1: 1708
MSI (c) (8C:50) [11:35:30:335]: Product: Telerik RadControls for SharePoint -- Installation failed.

MSI (c) (8C:50) [11:35:30:335]: Windows Installer installed the product. Product Name: Telerik RadControls for SharePoint. Product Version: 102.7.12.0. Product Language: 1033. Installation success or error status: 1633.

MSI (c) (8C:50) [11:35:30:335]: MainEngineThread is returning 1633
=== Verbose logging stopped: 24/07/2010  11:35:30 ===

As this is my first time using RadControls I'd really rather not attempting the manual install.

Can anyone help?

Thanks in advance
higgsy
Andrey
Telerik team
 answered on 26 Jul 2010
3 answers
107 views
Hi there

Just a quick note to point out that the 'Uploading Files' menu node at
http://www.telerik.com/help/aspnet/upload/gettingstarted.htm
doesn't seem to be working ... which is a shame because I wanted to read it!

Thanks very much

Regards




ajitha
Top achievements
Rank 1
 answered on 26 Jul 2010
1 answer
77 views
Hai,

I want to get the current week to be highlighted on the radcalendar. How to get it done?

Plz help me.

Thanks & regards,
Regeesh Joseph
Princy
Top achievements
Rank 2
 answered on 26 Jul 2010
1 answer
124 views
Hi,

I have a RadGrid which has activate, deactivate and delete functionalities as coded below:

<telerik:GridTemplateColumn UniqueName="CheckBoxTemplateColumn" AllowFiltering="false">
<HeaderTemplate>
 <div>
  Actions
 </div>
</HeaderTemplate>
<ItemTemplate>                                       
 <div>
  <span style="padding:0 5px">
   <asp:ImageButton ID="ImgBtn" runat="server" CausesValidation="False" />
  </span>
  <span style="padding:0 5px">
   <asp:ImageButton ID="ImgBtnDelete" ToolTip="Delete Record" runat="server" CausesValidation="False"
   CommandName="Delete"
   OnClientClick="return confirm('Are you sure you want to delete this record?');"
   ImageUrl="~/Images/icon/delete.gif" />
  </span>
  <span style="padding:0 5px">                                               
   <asp:HyperLink ID="EditLink" runat="server" Text="Edit"
   ImageUrl="~/Images/icon/edit.gif" ToolTip="Edit Record"></asp:HyperLink>                                           
  </span>
 </div>
</ItemTemplate>
</telerik:GridTemplateColumn>

How can i integrate radalerts instead of the current JS message boxes as confirmations for the functionalities?

Please suggest.

Thanks!

Shinu
Top achievements
Rank 2
 answered on 26 Jul 2010
1 answer
83 views
Hi.
Is it possible to distinguish between edit and insert mode for a gridNumricColumn when not use a formTemplate?
I have read the documentation Distinguish edit/insert mode on ItemCreated/ItemDataBound but i still have problem to get it to work.
I want the gridNumricColumn (CardNumber) to be readonly=false when insertmode and readonly=true otherwise. The problem is that the field CardNumber is not visible when insertmode withe the following code:

protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e)
{         
if (e.Item is GridDataInsertItem && e.Item.IsInEditMode)
    {
 
var column = (GridNumericColumn)e.Item.OwnerTableView.GetColumnSafe("CardNumberColumn");
 
  if (e.Item.OwnerTableView.IsItemInserted)
       column.ReadOnly = false;
               else
       column.ReadOnly = true;
 }
}

<telerik:RadGrid ID="RadGrid1" runat="server"AllowAutomaticInserts="True"   AllowAutomaticUpdates="True" DataSourceID="LinqDataSource1" ondatabound="RadGrid1_DataBound" onitemcommand="RadGrid1_ItemCommand"           onitemdatabound="RadGrid1_ItemDataBound" onitemcreated="RadGrid1_ItemCreated">
<MasterTableView AutoGenerateColumns="FalseDataKeyNames="CardNumber,ProductNumber,MediaType"
         DataSourceID="LinqDataSource1" EditMode="InPlace" >
<Columns>
       <telerik:GridNumericColumn DataField="CardNumber" DataType="System.Int32" HeaderText="Kortnr." ReadOnly="true" SortExpression="CardNumber" UniqueName="CardNumberColumn" >
       </telerik:GridNumericColumn>     
       <telerik:GridBoundColumn DataField="CardName" HeaderText="Kortnavn" SortExpression="CardName" UniqueName="CardName" >
       </telerik:GridBoundColumn>     
       <telerik:GridEditCommandColumn CancelText="Avbryt" EditText="Endre" InsertText="Sett inn" UpdateText="Oppdater"></telerik:GridEditCommandColumn>
       </Columns>
   </MasterTableView>   
   </telerik:RadGrid>


Have tried both with ItemCreated and ItemDataBound methode.
Princy
Top achievements
Rank 2
 answered on 26 Jul 2010
1 answer
74 views
Hi,

I have used FileSystemContentProvider to implement custom logic for image uploading and it works fine. The problem is if there is an error I want to be able to notify user. Is there a good way of doing this?

Thanks.
Sajid
Top achievements
Rank 1
 answered on 26 Jul 2010
4 answers
315 views
Hi everyone..

i have textbox in radgrid pop up edit form which is textboxmode = password ...
i want to encode text  in there when press insert button .. i have password encoder dll
like that
passencode_.EncodePassword(tb_passWord.Text)

but i use automatic insert/update/delete operations...
how i add this encode method when insert button clicked in popup edit form ??

my code like this
                        <telerik:GridDropDownColumn DataField="fk_title_id" HeaderText="title" DataSourceID="SqlDataSourceTitle"
                            ListTextField="title" ListValueField="id" ColumnEditorID="ce_fk_title_id" UniqueName="fk_title_id"
                            Visible="false">
                        </telerik:GridDropDownColumn>
                        <telerik:GridBoundColumn DataField="username" UniqueName="username" HeaderText="UserName"
                            SortExpression="username" ColumnEditorID="ce_username">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="password" UniqueName="password"   HeaderText="PassWord"
                            Visible="false" ColumnEditorID="ce_password">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="name" UniqueName="name" Visible="false" HeaderText="Name"
                            ColumnEditorID="ce_name">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="surename" UniqueName="surename" Visible="false"
                            HeaderText="SureName" ColumnEditorID="ce_surename">
                        </telerik:GridBoundColumn>                      
                        <telerik:GridDropDownColumn DataField="sex" HeaderText="Sex" DataSourceID="SqlDataSourceSex"
                            ListTextField="sex" ListValueField="id" ColumnEditorID="ce_sex" UniqueName="sex"
                            Visible="false">
                        </telerik:GridDropDownColumn>
                        <telerik:GridMaskedColumn DataField="mobile_phone1" UniqueName="mobile_phone1" Visible="false"
                              HeaderText="Mobile Phone1" ColumnEditorID="ce_mobile_phone1" mask="### ### ## ##" />
                    <telerik:GridMaskedColumn DataField="mobile_phone2" UniqueName="mobile_phone2" Visible="false"
                              HeaderText="Mobile Phone" ColumnEditorID="ce_mobile_phone2" mask="### ### ## ##" />
                     <telerik:GridMaskedColumn DataField="phone" UniqueName="phone" Visible="false"
                              HeaderText="Telefon" ColumnEditorID="ce_phone" mask="### ### ## ##+###" />
                
                         <telerik:GridMaskedColumn DataField="fax" UniqueName="fax" Visible="false"
                              HeaderText="Fax" ColumnEditorID="ce_fax" mask="### ### ## ##" />
                        
                        <telerik:GridBoundColumn DataField="email" UniqueName="email" Visible="false" ColumnEditorID="ce_email"
                            HeaderText="E-Mail">
                        </telerik:GridBoundColumn>
                        <telerik:GridButtonColumn ConfirmText="Delete?" ConfirmDialogType="RadWindow"
                            ConfirmTitle="Delete" ButtonType="ImageButton" ImageUrl="img/app/delete16.png"
                            CommandName="Delete" Text="Delete" UniqueName="DeleteColumn">
                            <ItemStyle HorizontalAlign="Center" CssClass="MyImageButton" />
                        </telerik:GridButtonColumn>
                    </Columns>
                </MasterTableView>
                <SortingSettings SortToolTip="Sırala" />
                <ValidationSettings EnableValidation="False" />
                <ClientSettings EnableRowHoverStyle="true">
                    <ClientEvents OnRowDblClick="RowDblClick" />
                    <ClientEvents OnPopUpShowing="PopUpShowing" />
                    <Selecting AllowRowSelect="True" />
                </ClientSettings>
            </telerik:RadGrid>
            <telerik:GridDropDownListColumnEditor ID="ce_fk_title_id" runat="server" DropDownStyle-Width="110px" />
            <telerik:GridTextBoxColumnEditor ID="ce_username" runat="server" TextBoxStyle-Width="150px" />
            <telerik:GridTextBoxColumnEditor ID="ce_password" runat="server" TextBoxStyle-Width="150px" TextBoxMode="Password"  />
            <telerik:GridTextBoxColumnEditor ID="ce_name" runat="server" TextBoxStyle-Width="150px" />
            <telerik:GridDropDownListColumnEditor ID="ce_sex" runat="server" DropDownStyle-Width="110px" />
            <telerik:GridTextBoxColumnEditor ID="ce_surename" runat="server" TextBoxStyle-Width="150px" />
            <telerik:GridMaskedColumnEditor ID="ce_mobile_phone1" runat="server" MaskedTextBox-Width="150px"  />
            <telerik:GridMaskedColumnEditor ID="ce_mobile_phone2" runat="server" MaskedTextBox-Width="150px"  />
            <telerik:GridMaskedColumnEditor ID="ce_phone" runat="server" MaskedTextBox-Width="150px"  />            
            <telerik:GridMaskedColumnEditor ID="ce_fax" runat="server" MaskedTextBox-Width="150px"  />
            <telerik:GridTextBoxColumnEditor ID="ce_email" runat="server" TextBoxStyle-Width="150px" />
            <telerik:RadWindowManager ID="RadWindowManager1" runat="server"  />
        </fieldset>
    </div>
    <div class="properties_container">
        <fieldset>
            <legend>
                <img alt="Kullanıcı Ayarları" src="img/user_management/properties32.png" />Özellikler</legend>
        </fieldset>
    </div>
</div>
<asp:SqlDataSource ID="SqlDataSourceCompany" runat="server" ConnectionString="<%$ ConnectionStrings:connectionString %>"
    ProviderName="System.Data.SqlClient" SelectCommand="sp_select_company_cmb" SelectCommandType="StoredProcedure">
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSourceUsers" runat="server" ConnectionString="<%$ ConnectionStrings:connectionString %>"
    ProviderName="System.Data.SqlClient" SelectCommandType="StoredProcedure" SelectCommand="sp_select_user"
    InsertCommandType="StoredProcedure" InsertCommand="sp_create_user" DeleteCommandType="StoredProcedure"
    DeleteCommand="sp_delete_user" UpdateCommand="sp_update_user" UpdateCommandType="StoredProcedure">
    <SelectParameters>
        <asp:ControlParameter Name="CompanyID" PropertyName="SelectedValue" ControlID="cmb_Company" />
    </SelectParameters>
    <DeleteParameters>
        <asp:Parameter Name="id" Type="Int64" />
    </DeleteParameters>
    <InsertParameters>
        <asp:Parameter Name="username" Type="String" />
        <asp:Parameter Name="password" Type="String" />
        <asp:Parameter Name="name" Type="String" />
        <asp:Parameter Name="surename" Type="String" />
        <asp:Parameter Name="sex" Type="String" />
        <asp:Parameter Name="mobile_phone1" Type="String" />
        <asp:Parameter Name="mobile_phone2" Type="String" />
        <asp:Parameter Name="phone" Type="String" />
        <asp:Parameter Name="fax" Type="String" />
        <asp:Parameter Name="email" Type="String" />
        <asp:ControlParameter Name="fk_company_id" PropertyName="SelectedValue" ControlID="cmb_Company" />
        <asp:Parameter Name="fk_title_id" Type="Int32" />
    </InsertParameters>

kerim
Top achievements
Rank 1
 answered on 25 Jul 2010
1 answer
91 views
How does a user go about adding an image (via URL)?

The ImageManager just gives them local images
Rumen Jekov
Top achievements
Rank 1
 answered on 25 Jul 2010
2 answers
747 views
In the radgrid Itemtemplate how to use if else in the Preprocessor directives .Following code im using <%#eval("user-id)%> ,i need a check if user_id is null then #eval(secondcolumnid)  so i used
<ItemTemplate>
                                                    <a href="Userinfo.aspx?User_Id=<%if(#Eval("User_Id")!=null){#Eval("User_Id")} %>">edit</a> <%#Eval("Last_Name") %>,
                                                    <%#Eval("First_Name") %>
                                                </ItemTemplate>
If i use like this it throws me an error Preprocessor directives must appear as the first non-whitespace character on a line .
So what is the best way to solve this solution.
<telerik:RadGrid ID="Grd1" runat="server" AutoGenerateColumns="False" AllowPaging="True">
<MasterTableView DataKeyNames="userid" CellSpacing="1">
<Columns>
<telerik:GridClientSelectColumn ButtonType="PushButton" />
<telerik:GridTemplateColumn HeaderText="Manager">
<ItemTemplate>
<a href="userinfo.aspx?User_Id=<%#Eval("User_Id") %>">edit</a> <%#Eval("Last_Name") %>,<%#Eval("First_Name") %>
</ItemTemplate>
</telerik:GridTemplateColumn>
</Columns>
</MasterTableView>
<ClientSettings Selecting-AllowRowSelect="true">
<Selecting AllowRowSelect="True" />
</ClientSettings>
</telerik:RadGrid>
win
Top achievements
Rank 1
 answered on 24 Jul 2010
4 answers
183 views
Hi.

I have a multi month calendar that displays two months, i.e. May-June. But I if I navigate to the next month it shows now July-August. I want it to show June-July. Is it possible?

current declaration is

<telerik:RadCalendar ID="RadCalendar1" runat="server" AutoPostBack="True" CssClass="centerCalendar"   
    MultiViewColumns="2" MultiViewRows="1" EnableMultiSelect="false"   
    EnableNavigationAnimation="True" ShowOtherMonthsDays="False"   
    ShowRowHeaders="False" UseColumnHeadersAsSelectors="False"   
    UseRowHeadersAsSelectors="False"   
    OnSelectionChanged="RadCalendar1_SelectionChanged">  
</telerik:RadCalendar> 

Thanks.
Jose
Levi
Top achievements
Rank 1
 answered on 24 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?