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

I installed Telerik.Web.UI_2010_2_713.

When I drag and drop any component no xml code generated on my .aspx page.

What could be the problem ? Can anyoe help me :(.

System parameters:

Visual Studio 2010 ultimate edition.

Telerik Web UI 2010.2.713

Project: Web site

Sword Holder
Top achievements
Rank 1
 asked on 09 Aug 2010
1 answer
86 views
Hello,

I'm trying to create a Grid containing a HiddenField (ID), literal (name) and a textbox which is used to show (color) by setting its backcolor. I chose an item template and made a row as I want it, but there is a problem, couse headers are still the same like for normal colums. I need to say that I'm not using any provided database but binding at NeedDataSource from Linq data context. 

Looking forward quick answer,

Best regards,
Maciej
Radoslav
Telerik team
 answered on 09 Aug 2010
1 answer
133 views
Hi,
I am getting the following wxception when instalilng Radcompression:
AssemblyVersion: 5.3.1
PortalID: 0
PortalName: Portal name
UserID: -1
UserName:
ActiveTabID: 40
ActiveTabName: Home
RawURL: /login.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.domain.com/login.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 (.NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: fe5e7846-691a-447a-bacd-dff8ecef4d25
InnerException: Unhandled Error:
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.IO.Compression.DeflateStream..ctor
StackTrace:
Message: System.Exception: Unhandled Error: ---> System.ArgumentException: The base stream is not writeable. Parameter name: streamat System.IO.Compression.DeflateStream..ctor(Stream stream, CompressionMode mode, Boolean leaveOpen, Boolean usingGZip)at System.IO.Compression.GZipStream..ctor(Stream stream, CompressionMode mode)at DotNetNuke.HttpModules.Compression.GZipFilter..ctor(Stream baseStream)at DotNetNuke.HttpModules.Compression.CompressionModule.GetFilterForScheme(String[] schemes, Stream output, Settings prefs)at DotNetNuke.HttpModules.Compression.CompressionModule.CompressContent(Object sender, EventArgs e)at System.Web.HttpApplication.SendResponseExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)--- End of inner exception stack trace ---
Source:

Any ideas?
Thanks
Nikolay Rusev
Telerik team
 answered on 09 Aug 2010
3 answers
116 views
I was wondering how I would go about adding shadows to an existing skin... currently my site is using the "Telerik" Skin, but in many instances, forms, and various boxes I would like to add a drop shadow for added depth on the page, as most of what is laid out on my dashboard control page for my aspx application is fairly plain jane...

I currently understand from my research that EnableShadows="True" is now supported, but was only recently released just a few months ago... unfortunately, the major constraint that I currently have to work around is the fact that my server is running off of .net 2.0, and I do not foresee an upgrade anytime in the near future...

Would it be best to edit the sprites for universal drop shadow effects?  I see this as my only solution as of now, and if the file directories could be pointed to me if this method is best, it would be very much appreciated...
Alex Gyoshev
Telerik team
 answered on 09 Aug 2010
1 answer
77 views
The code specified at Put all items in edit mode without additional rebind.

Does not work if the paging is enabled.

Any work arounds please.

Thanks
Imran
Princy
Top achievements
Rank 2
 answered on 09 Aug 2010
4 answers
101 views
Hi.
I have a scenario similar to your demo "master-detail grids" (http://demos.telerik.com/aspnet-ajax/grid/examples/programming/selectedvalue/defaultcs.aspx). After appropriate selections I go to other page, then do something there and return to "master-detail grids" page. Normally everything on "master-detail grids" page returns to initial state after every entry, but I would like to store all states of grids (e.g. If I selected second row in first grid and other grids displayed some positions, I would like them to keep these values when I return the page). Is it possible to do it? I have also combo boxes on this page, also dependent on grid. Is it possible to store all states, to avoid additional selections on each page entry?
Greetings:
Pawel
Radoslav
Telerik team
 answered on 09 Aug 2010
1 answer
113 views
Hai,

How to invoke the grid itemcommand event on a button click with command as filter. I have to filter the grid when I click on a button which is not in the grid. So I have to call the itemcommand event on this button click. How can I do this?

Thanks & regards,
Regeesh
Shinu
Top achievements
Rank 2
 answered on 09 Aug 2010
1 answer
350 views
Hi,

I have an asp:LinkButton inside of my grid. I need this button to be invisible when the user is not logged in and visible when logged in. The problem I'm having is that I'm not sure how to access this button's ID to control it.

here is my code:

<telerik:RadGrid ID="gridEventsWebinars" runat="server" AutoGenerateColumns="false"
                    ShowHeader="false" EnableEmbeddedSkins="False" OnNeedDataSource="gridEventsWebinars_NeedDataSource"
                    OnColumnCreated="gridEventsWebinars_ColumnCreated" OnItemCreated="gridEventsWebinars_ItemCreated"
                      OnItemCommand="RadGrid_ItemCommand">
                    <HeaderContextMenu EnableEmbeddedSkins="False">
                    </HeaderContextMenu>
                    <MasterTableView DataKeyNames="strCampaignID">
                        <GroupByExpressions>
                            <telerik:GridGroupByExpression>
                                <SelectFields>
                                    <telerik:GridGroupByField FieldName="strStartMonth" FormatString="{0:MMMM}" HeaderText=" "
                                        HeaderValueSeparator=" " />
                                </SelectFields>
                                <GroupByFields>
                                    <telerik:GridGroupByField FieldName="intStartMonth" HeaderText=" " SortOrder="Ascending" />
                                </GroupByFields>
                            </telerik:GridGroupByExpression>
                        </GroupByExpressions>
                        <Columns>
                            <telerik:GridTemplateColumn UniqueName="WebinarID">
                                <ItemTemplate>
                                    <div style="clear: both;">
                                        <div style="float: left;">
                                            <asp:Image ID="imgWebinar" runat="server" ImageUrl="~/img/WebinarIcon24.jpg" ToolTip='<%# Eval("strEventName") %>' /></div>
                                        <div style="position: relative; padding-left: 36px;">
                                            <p>
                                                <asp:Label ID="lblStartDate" runat="server" Text='<%# Eval("dtStartDate", "{0:M/dd/yyyy}") %>'></asp:Label>
                                                |
                                                <asp:Label ID="lblStartTime" runat="server" Text='<%# Eval("dtStartTime", "{0:h:mm tt}") %>'></asp:Label>
                                                â€“
                                                <asp:Label ID="lblEndTime" runat="server" Text='<%# Eval("dtEndTime", "{0:h:mm tt}") %>'></asp:Label>
                                                ET
                                                <br />
                                                <strong>
                                                    <asp:Label ID="lblEventType" runat="server" Text='<%# Eval("strEventType") %>'></asp:Label>
                                                    | </strong><strong>
                                                        <asp:Label ID="lblEventName" runat="server" Text='<%# Eval("strEventName") %>'></asp:Label></strong>
                                                <!-- KK on 05.05.09 -->
                                                <!-- Added description to Webinar listing -->
                                                <br />
                                                <asp:Label ID="lblDescription" runat="server" Text='<%# Eval("strDescription") %>'></asp:Label>
                                                <br />
                                                <!-- JO on 12.16.08 -->
                                                <!-- Added functionally on turn off sign-up -->
                                                <%--<asp:HyperLink ID="linkSignUp" runat="server" NavigateUrl='<%# "~/Contact/webinar-signup.aspx?EventID=" + Eval("intEventID") %>'>Learn More & Register</asp:HyperLink>--%>
                                                <asp:HyperLink ID="linkSignUp" runat="server" NavigateUrl='<%# "EventDetail.aspx?EventID=" + Eval("intEventID") %>'>Learn More</asp:HyperLink>
                                                       
                                                 
                                                <asp:LinkButton ID="RegisterWebinarBtn" runat="server" Text="One-click Registration" CommandName="RegisterWebinarBtn_Command"></asp:LinkButton>
                                                 
                                                 
                                            </p>
                                        </div>
                                    </div>
                                </ItemTemplate>
                            </telerik:GridTemplateColumn>
                        </Columns>
                        <EditFormSettings>
                            <EditColumn InsertImageUrl="Update.gif" UpdateImageUrl="Update.gif" EditImageUrl="Edit.gif"
                                CancelImageUrl="Cancel.gif">
                            </EditColumn>
                        </EditFormSettings>
                    </MasterTableView>
                    <GroupHeaderItemStyle Font-Bold="True" Height="30px" CssClass="rgGroupHeader-events" />
                    <ClientSettings AllowExpandCollapse="False" AllowGroupExpandCollapse="False">
                        <Resizing AllowColumnResize="True" />
                    </ClientSettings>
                    <FilterMenu EnableEmbeddedSkins="False">
                    </FilterMenu>
                </telerik:RadGrid>

the button is:
<asp:LinkButton ID="RegisterWebinarBtn" runat="server" Text="One-click Registration" CommandName="RegisterWebinarBtn_Command"></asp:LinkButton>

Thanks
Princy
Top achievements
Rank 2
 answered on 09 Aug 2010
1 answer
102 views

Hi ,
i am using radwindowmanager on my entire application. and in all the pages it works fine except one page.
i dont know the reason for this as i am using multiple radwindowmanager on this page.

here is the code which is working on all pages but not on one particular page..

<telerik:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Vista"
                         Width="1200px" Height="750px" ReloadOnShow="true" Modal="true"
                                    ShowContentDuringLoad="false" Behavior="Close"
                                    VisibleStatusbar="false">
                            <Windows>
                                <telerik:RadWindow Skin="Vista" ID="AttachmentDialog" runat="server" Title="Document Dialog"
                                    ReloadOnShow="true" Modal="true"
                                    ShowContentDuringLoad="false" Behavior="Close"
                                    VisibleStatusbar="false" OnClientClose="ReloadAttachmentGrid"
                                />
                            
                            </Windows>
                        </telerik:RadWindowManager> 

please suggest where i am doing wrong.on that page after doing all changes the popup size is still small..i mean not 1200 and 750.

Georgi Tunev
Telerik team
 answered on 09 Aug 2010
2 answers
113 views
Good day!
Can I add delete confirmation when I select "Delete" in such a menu?
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandmenu/defaultcs.aspx?product=menu

Is it possible to call to javascript function from such a C# code:
protected void RadMenu1_ItemClick(object sender, RadMenuEventArgs e)
        {
            int radGridClickedRowIndex;

            radGridClickedRowIndex = Convert.ToInt32(Request.Form["radGridClickedRowIndex"]);

            switch (e.Item.Text)
            {
                case "Edit":
                    RadGrid1.Items[radGridClickedRowIndex].Edit = true;
                    RadGrid1.Rebind();
                    break;
                case "Add":
                    RadGrid1.MasterTableView.IsItemInserted = true;
                    RadGrid1.Rebind();
                    break;
                case "Delete":
                    RadGrid1.MasterTableView.PerformDelete(RadGrid1.Items[radGridClickedRowIndex]);
                    break;
            }
        }

?
lina fetisova
Top achievements
Rank 1
 answered on 09 Aug 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?