Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
332 views
I have an issue with IIS 7.5. Any web page with Telerik controls pops up a windows authentication login box and it fails to authenticate and results in error '401 - Unauthorized.  Access is denied due to invalid credentials'. All other pages without Telerik controls works fine. It looks like using Host Name for the website in IIS  is creating the problem.

Environment:
Telerik        :  RadControls for ASP.Net JAAX Q2 2011 SP1
OS Version : Windows 2008  R2 
OS Version :  64bit
IIS Version  ; IIS 7.5
.Net Framework : 4.0
Authentication : Windows Integrated
App pool(mode) : Integrated
HostName : xxxxx-stg.xxx.com


Below is the web.config section
<system.web>
     <httpHandlers>
           <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
      </httpHandlers>
</system.web>
  
<system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <handlers>     
      <add name="Telerik.Web.UI.WebResource"  path="Telerik.Web.UI.WebResource.axd" verb="*" 
              type="Telerik.Web.UI.WebResource, Telerik.Web.UI" />
    </handlers
</system.webServer>



Thanks in advance.
Genady Sergeev
Telerik team
 answered on 28 Nov 2011
7 answers
1.1K+ views
Hi,
I want my grid to be "load on demand" so don't want it populating on PageLoad. How can I tell it to not populate until I explicitly call Rebind() ?

Cheers
Mahesh
Top achievements
Rank 1
 answered on 28 Nov 2011
8 answers
86 views
I have a scheduler where each appointment has an export option, as well as the scheduler as a whole.

If I export all the appointments on the scheduler, everything works.

If I export a recurrence master, that works too.

If I try and export a single recurrence instance though, all I get is this ...
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Telerik Inc.//NONSGML RadScheduler//EN
METHOD:PUBLISH
END:VCALENDAR
and if I try and import it in to Outlook it complains, unsurprisingly.

What am I missing?

--
Stuart

Nikolay Tsenkov
Telerik team
 answered on 28 Nov 2011
2 answers
178 views
I have placed a link button into commandItemTemplate of Grid so that i can add rows to end of grid on server side. But I am observing that whenever there is a postback after clicking link button, the same link button displyed next to the existing Link button.
Clicking the newly created link button does not fired the server side event.
The thing that i have done with grid is that all the rows of grid are in ediable form.


Thanks and Regards
Sarang
Sarang
Top achievements
Rank 1
 answered on 28 Nov 2011
5 answers
85 views
With HTML5 gaining so much popularity, are there any plans to incorporate HTML5 with RAD asp.net ajax controls in the up comming versions. So that the asp.net ajax controls would start utilizing the capabilities of html5, like html5 forms, hardware capabilities(SVG) and render tags all which would be supported by the executing browser. Waiting for your reply as a lot more depends on that.
mirang
Top achievements
Rank 1
 answered on 28 Nov 2011
1 answer
38 views
We've seen our radGrid where page numbers 1 and 2 are highlighted and not clickable,
almost as if we were on both page 1 and 2.
Screen shot attached

Its happened a couple times but were not able to recreate it. We dont have much to go on but do have a screenshot to prove it.

Has anybody else ever seen this behaviour?
Shinu
Top achievements
Rank 2
 answered on 28 Nov 2011
4 answers
116 views
Hello,

I am setting localization.recurrence field to "Create recurring series of task" but it is wrapping and not displaying in a single line.
The dfault width of this recurrence label is set to 75px.Please reply as soon as possible.


Thank in advance,
Madhu.
Saimadhukar
Top achievements
Rank 1
 answered on 28 Nov 2011
7 answers
234 views
Hi,

I've a RadToolBar in RadListView's itemTemplate.
My problem is that; When I give CommandName to RadToolBarButtons. listview's ItemCommand function doesn't catch it.

protected void lv_ItemCommand(object source, RadListViewCommandEventArgs e)
{
...
}

..
<
telerik:RadToolBar ID="tb" runat="server">
<Items>
<telerik:RadToolBarButton runat="server"  text="test" CommandName="Edit"></telerik:RadToolBarButton>
</Items>
</telerik:RadToolBar>
..


only if I give a buttonClick command to RadToolBar, tb_ButtonClick function can do it..
<telerik:RadToolBar ID="tb" runat="server" OnButtonClick="tb_ButtonClick">
<Items>
<telerik:RadToolBarButton runat="server"  text="test" CommandName="Edit"></telerik:RadToolBarButton>
</Items>
</telerik:RadToolBar>


My Question is that; Is there any way to catch ListView_ItemCommand function by not using RadToolBar ButtonClick ?


Thanks
Sincerely,
Caglar DUMAN
Shinu
Top achievements
Rank 2
 answered on 28 Nov 2011
1 answer
64 views
Dear Telerik Team,

I am using Rad Grid and have following columns in my Grid.

<Columns>
            <telerik:GridClientSelectColumn UniqueName="CheckboxSelectColumn" ItemStyle-HorizontalAlign="Left">
                <HeaderStyle Width="25px" />
                <ItemStyle HorizontalAlign="Center" />
            </telerik:GridClientSelectColumn>
            <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn">
                <HeaderStyle Width="30px" />
                <ItemStyle HorizontalAlign="Center" />
            </telerik:GridEditCommandColumn>
            <telerik:GridCheckBoxColumn DataField="ysnPrimaryAddress" ConvertEmptyStringToNull="true"
                DefaultInsertValue="false" HeaderText="Primary" SortExpression="ysnPrimaryAddress"
                UniqueName="ysnPrimaryAddress" HeaderTooltip="Primary" Visible="false">
                <HeaderStyle Width="50px" />
                <ItemStyle HorizontalAlign="Center" />
            </telerik:GridCheckBoxColumn>
            <telerik:GridBoundColumn DataField="strPrimaryAddress" HeaderText="Primary" SortExpression="strPrimaryAddress"
                UniqueName="strPrimaryAddress" HeaderTooltip="Primary" CurrentFilterFunction="Contains">
                <HeaderStyle Width="90px" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="strAddressType" HeaderText="Address Type" SortExpression="strAddressType"
                UniqueName="strAddressType" HeaderTooltip="Address Type" CurrentFilterFunction="Contains">
                <HeaderStyle Width="90px" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="strAddress1" HeaderText="Address 1" SortExpression="strAddress1"
                UniqueName="strAddress1" HeaderTooltip="Address 1" CurrentFilterFunction="Contains">
                <HeaderStyle Width="125px" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="strAddress2" HeaderText="Address 2" SortExpression="strAddress2"
                UniqueName="strAddress2" HeaderTooltip="Address 2" CurrentFilterFunction="Contains">
                <HeaderStyle Width="125px" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="strStreet" HeaderText="Street" SortExpression="strStreet"
                UniqueName="strStreet" HeaderTooltip="Street" CurrentFilterFunction="Contains">
                <HeaderStyle Width="125px" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="strCity" HeaderText="City" SortExpression="strCity"
                UniqueName="strCity" HeaderTooltip="City" CurrentFilterFunction="Contains">
                <HeaderStyle Width="90px" />
            </telerik:GridBoundColumn>
        </Columns>

I really don't understand why Filter Menu doesn't show all items. Specially items like Contains, Starts With ,Ends With, Is Empty doesn't appear. Please advise. Thank you in advance for any assistance.

Regards

Pathan L.
Princy
Top achievements
Rank 2
 answered on 28 Nov 2011
3 answers
97 views
Hello,

I have a problem to retrieve data in insert mode. It works fine in Update mode ...

<telerik:RadGrid ID="RadGridNomenclature" EnableViewState="true" OnItemCommand="RadGridNomenclature_ItemCommand" OnItemDataBound="RadGridNomenclature_ItemDataBound" OnUnload="RadGridNomenclature_Unload" OnNeedDataSource="RadGridNomenclature_NeedDataSource" OnInsertCommand="RadGridNomenclature_InsertCommand" OnDeleteCommand="RadGridNomenclature_DeleteCommand" OnUpdateCommand="RadGridNomenclature_UpdateCommand" runat="server" Skin="Windows7" PageSize="20" Width="777px">
    <MasterTableView AllowAutomaticInserts="true" AutoGenerateColumns="false" DataKeyNames="uid" InsertItemPageIndexAction="ShowItemOnCurrentPage" AllowPaging="True" CommandItemDisplay="Top">
        <Columns>
            <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn">
                <ItemStyle CssClass="MyImageButton" />
            </telerik:GridEditCommandColumn>
 
            <telerik:GridTemplateColumn HeaderText="UID" SortExpression="uid" UniqueName="uid" Visible="True">
                <HeaderStyle Width="175px" />
                <ItemTemplate>
                    <asp:Label runat="server" ID="uid" Text='<%# Eval("uid") %>'></asp:Label>
                </ItemTemplate>
                <InsertItemTemplate>
                    <telerik:RadTextBox ID="RadTextBoxUid" runat="server" Text='Calculated by the system' Width="175px" ReadOnly="True" Enabled="false" />
                </InsertItemTemplate>
                <EditItemTemplate>
                   <telerik:RadTextBox ID="RadTextBoxUid" runat="server" Text='<%# Bind("uid") %>' Width="175px" ReadOnly="True" />
                </EditItemTemplate>
            </telerik:GridTemplateColumn>
 
            <telerik:GridTemplateColumn HeaderText="Description" SortExpression="description" UniqueName="description" Visible="True">
                <HeaderStyle Width="500px" />
                <ItemTemplate>
                    <asp:Label runat="server" ID="description" Text='<%# Eval("description") %>'></asp:Label>
                </ItemTemplate>
                <InsertItemTemplate>
                    <telerik:RadTextBox ID="RadTextBoxDescription" runat="server" Width="450px" />
                </InsertItemTemplate>
                <EditItemTemplate>
                   <telerik:RadTextBox ID="RadTextBoxDescription" runat="server" Text='<%# Bind("description") %>' Width="450px" />
                </EditItemTemplate>               
            </telerik:GridTemplateColumn>
 
            <telerik:GridTemplateColumn HeaderText="ISO country code" SortExpression="c" UniqueName="c" Visible="False">
                <HeaderStyle Width="75px" />
                <ItemTemplate>
                    <asp:Label runat="server" ID="c" Text='<%# Eval("c") %>'></asp:Label>
                </ItemTemplate>
                <InsertItemTemplate>
                    <telerik:RadTextBox ID="RadTextBoxC" runat="server" Width="100px"/>
                </InsertItemTemplate>
                <EditItemTemplate>
                   <telerik:RadTextBox ID="RadTextBoxC" runat="server" Text='<%# Bind("c") %>' Width="100px" />
                </EditItemTemplate>               
            </telerik:GridTemplateColumn>
 
            <telerik:GridTemplateColumn HeaderText="Identifiant telephonique" SortExpression="code" UniqueName="code" Visible="False">
                <HeaderStyle Width="75px" />
                <ItemTemplate>
                    <asp:Label runat="server" ID="code" Text='<%# Eval("code") %>'></asp:Label>
                </ItemTemplate>
                <InsertItemTemplate>
                    <telerik:RadTextBox ID="RadTextBoxCode" runat="server" Width="100px"/>
                </InsertItemTemplate>
                <EditItemTemplate>
                   <telerik:RadTextBox ID="RadTextBoxCode" runat="server" Text='<%# Bind("code") %>' Width="100px" />
                </EditItemTemplate>               
            </telerik:GridTemplateColumn>
 
            <telerik:GridTemplateColumn HeaderText="Nationality" SortExpression="nationality" UniqueName="nationality" Visible="False">
                <HeaderStyle Width="175px" />
                <ItemTemplate>
                    <asp:Label runat="server" ID="nationality" Text='<%# Eval("nationality") %>'></asp:Label>
                </ItemTemplate>
                <InsertItemTemplate>
                    <telerik:RadTextBox ID="RadTextBoxNationality" runat="server" Width="210px"/>
                </InsertItemTemplate>
                <EditItemTemplate>
                   <telerik:RadTextBox ID="RadTextBoxNationality" runat="server" Text='<%# Bind("nationality") %>' Width="210px" />
                </EditItemTemplate>               
            </telerik:GridTemplateColumn>
 
            <telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Delete" ConfirmText="Delete this product?" ConfirmDialogType="RadWindow" ConfirmTitle="Delete" ConfirmDialogWidth="220px">
                <ItemStyle HorizontalAlign="Center" CssClass="MyImageButton" />
            </telerik:GridButtonColumn>
        </Columns>
        <EditFormSettings CaptionDataField="Description">
            <EditColumn ButtonType="ImageButton" />
            <FormTableButtonRowStyle HorizontalAlign="Right" CssClass="EditFormButtonRow" />
        </EditFormSettings>
    </MasterTableView>
</telerik:RadGrid>

Here is the UpdateCommand function :

protected void RadGridNomenclature_UpdateCommand(object sender, GridCommandEventArgs e)
        {
            GridEditableItem item = e.Item as GridEditableItem;
 
            Hashtable newValues = new Hashtable();
            e.Item.OwnerTableView.ExtractValuesFromItem(newValues, item);
             
            [...]
        }

I can retrieve key and values in the newValues Hashtable.

The same code for the insert commande return me an empty newValues Hashtable.

protected void RadGridNomenclature_InsertCommand(object sender, GridCommandEventArgs e)
{
    GridEditableItem item = e.Item as GridEditableItem;
 
    Hashtable newValues = new Hashtable();
    e.Item.OwnerTableView.ExtractValuesFromItem(newValues, item);
 
    String desc = newValues["description"].ToString();  // ---------- newValues is Empty ---------------
}

Have you any ideas ?

Regards,
Shinu
Top achievements
Rank 2
 answered on 28 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?