Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
E

Ersan Ercek

@Ersan Ercek
About
Posts
123
Topics
48
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • custom datalist control
    E Ersan Ercek

    Hi, thanks for the answer, but what I need is not about the common datalist control, I am creating my own datalist control via web server controls. So I am overwriting some of the common datalist controls' events. I need my datalist control to come with an itemtemplate by default. This itemtemplate will require some fields that will be provided by properties. There are two events while creating your own control 1. rendercontents 2. createchildcontrols I was unable to addd itemtemplate by these 2 events.. How could I manage this, I do not know at the moment. I hope I made myself clear now.

    ASP.NET sysadmin question

  • custom datalist control
    E Ersan Ercek

    Hi, thanks for the answer, but what I need is not about the common datalist control, I am creating my own datalist control via web server controls. So I am overwriting some of the common datalist controls' events. I need my datalist control to come with an itemtemplate by default. This itemtemplate will require some fields that will be provided by properties. There are two events while creating your own control 1. rendercontents 2. createchildcontrols I was unable to addd itemtemplate by these 2 events.. How could I manage this, I do not know at the moment. I hope I made myself clear now.

    ASP.NET sysadmin question

  • custom datalist control
    E Ersan Ercek

    Hi, I am creating a new datalist custom control, basicly why I need this solution is that. I will use it in pretty same way with same columns (maybe column names that return is different). The question is that I am unable to add itemtemplate to this server control... Could you please assist me with the codes and the event name that adds this control. Thanks in advance

    ASP.NET sysadmin question

  • Web User Control in Content page - Urgent; PLease help
    E Ersan Ercek

    Thanks a lot for the answer it says webmessagebox(web user control) is not a known element... yes I tried dragging and dropping it... even so it gives the same error.

    ASP.NET help csharp html sysadmin question

  • Web User Control in Content page - Urgent; PLease help
    E Ersan Ercek

    Dear All, I am adding an ascx file into a content page and always I receive an unknown element error. Somehow In content page eventhough I register the ascx file, the control seems to be not known or recognized. Why do you think it happens? Here is my html code - do I miss something? <%@ Page Language="C#" MasterPageFile="~/MAIN.Master" AutoEventWireup="true" CodeBehind="Urunler.aspx.cs" Inherits="cicektablo.Urunler" Title="flowerbox® Türkiye" %> <%@ Register src="WebMessageBox.ascx" tagname="WebMessageBox" tagprefix="uc1" %> <asp:Content ID="Content1" ContentPlaceHolderID="body" runat="server"> <uc1:WebMessageBox ID="WebMessageBox1" runat="server" /> </asp:Content> ps: I also checked the msdn and it is explianed in excatly my way. I do not understand.

    ASP.NET help csharp html sysadmin question

  • MS access in .net
    E Ersan Ercek

    It might be that you forgot to close the connection to ms access...

    ASP.NET csharp database question

  • SlideShow Extender autoplay seems not working
    E Ersan Ercek

    Dear All, the problem is solved I found the problem but in any case I will not delete the question since somebody else could come acrross with the same problem. The problem was that I used Script Manager instead of toolkitScriptmanager... when I added: <ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"> </ajaxToolkit:ToolkitScriptManager> it worked fine...

    ASP.NET help question

  • SlideShow Extender autoplay seems not working
    E Ersan Ercek

    Dear All, I have looked so many sites and slideshow extender is a quite easy to set-up. and all sites gives the pretty much same codes. And noone seems to have a problem with the codes. However when I try to run the code autoplay seems not working. But the buttons (next pre) do loop among the images. I tried so many things, such as reinstalling ajaxToolkit, does anyone have an idea what might I miss? Thanks alot.

    ASP.NET help question

  • Ajax SlideShow Controller
    E Ersan Ercek

    Dear Anurag, Well I tried a sample code, also it did not work.. do you think it could have something to do with my AjaxToolkit version?

    ASP.NET graphics sysadmin

  • Ajax SlideShow Controller
    E Ersan Ercek

    Dear Anurag, Thanks for the response.. I created the following method in aspx.cs file.. I did not get it is realition with asmx files.. Does it have anything to do with it? [System.Web.Services.WebMethod] [System.Web.Script.Services.ScriptMethod] public static AjaxControlToolkit.Slide[] GetSlides() { AjaxControlToolkit.Slide[] imgSlide = new AjaxControlToolkit.Slide[4]; imgSlide[0] = new AjaxControlToolkit.Slide("images/1.jpg", "Autumn", "Autumn Leaves"); imgSlide[1] = new AjaxControlToolkit.Slide("images/2.jpg", "Creek", "Creek"); imgSlide[2] = new AjaxControlToolkit.Slide("images/3.jpg", "Landscape", "Landscape"); imgSlide[3] = new AjaxControlToolkit.Slide("images/4.jpg", "Dock", "Dock"); return (imgSlide); } It does not throw any exception. Why do you think it happens=

    ASP.NET graphics sysadmin

  • Ajax SlideShow Controller
    E Ersan Ercek

    Dear All, My slide show extender does not work automatically even though defined as follows: <cc1:SlideShowExtender ID="SlideShowExtender1" runat="server" BehaviorID="SSBehaviorID" TargetControlID="img1" SlideShowServiceMethod="GetSlides" AutoPlay="true" ImageDescriptionLabelID="lblDesc" NextButtonID="btnNext" PreviousButtonID="btnPrev" PlayButtonID="btnPlay" PlayButtonText="Play" StopButtonText="Stop" Loop="true" > </cc1:SlideShowExtender> should I check somewhere else.. please advice it is drawing me crazy...

    ASP.NET graphics sysadmin

  • Could somebosy help me this rendercontrol issue
    E Ersan Ercek

    At last, I managed it... I am saying as if I did something, just copied and pasted :). Thanks alot man.

    ASP.NET help html com

  • Could somebosy help me this rendercontrol issue
    E Ersan Ercek

    Dear Abhishek, Here are the test you asked for... Completely different project the same result. I know I am asking alor but, could it be possible for you to test it. Aspx page: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Test._Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Untitled Page</title> </head> <body> <form id="form1" runat="server"> <div> <asp:GridView ID="dgSiparisler" runat="server"> <Columns> <asp:TemplateField HeaderText="Adet" HeaderStyle-HorizontalAlign="Left"> <ItemTemplate> <asp:Label ID="lblAdet" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "DataAdi")%>'></asp:Label> </ItemTemplate> <HeaderStyle HorizontalAlign="Left" /> <ItemStyle Width="50px" /> </asp:TemplateField> </Columns> </asp:GridView> </div> </form> </body> </html> cs page: using System; using System.Collections; using System.Configuration; using System.Data; using System.Text; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.IO; namespace Test { public partial class _Default : System.Web.UI.Page { Class1 u = new Class1(); protected void Page_Load(object sender, EventArgs e) { dgSiparisler.DataSource = u.tbl_Al(); dgSiparisler.DataMember = u.tbl_Al().TableName; dgSiparisler.DataBind(); StringBuilder sb = new StringBuilder(); StringWriter strw = new StringWriter(sb); HtmlTextWriter htmlw = new HtmlTextWriter(strw); //ClearElements(dgSiparisler); HtmlForm form = new HtmlForm(); Controls.Add(form); form.Controls.Add(dgSiparisler); form.RenderControl(htmlw); } } }

    ASP.NET help html com

  • Could somebosy help me this rendercontrol issue
    E Ersan Ercek

    I do not understand either, I send you may aspx page there are no 3rd party element. Could it be caused by a service pack or something like that? Am I supposed to load anything for VS08? I had a code for exporting data to excel in (VS03) where I did also render a gridview. It does not work either. It is deadlock..

    ASP.NET help html com

  • Could somebosy help me this rendercontrol issue
    E Ersan Ercek

    Dear Abhishek, you are really a good guy with a lot of patience... I did not write earlier since I wanted to check the code first. As you said, I suspected from the update panels, and I have already removed it. Therefore I assume I do not need clear element. I checked in both ways anyway. The thing is, when I render gridview by adding form, program gives, a page can only have one form tag. When I try to render it alone I receive should be within form tag. I really do not understand. Thanks alot.

    ASP.NET help html com

  • Could somebosy help me this rendercontrol issue
    E Ersan Ercek

    Sorry, I am normally patient guy but I was stuck with the problem so I got crazy, I read so many posts in regards to that problem but did not work, Additionally I was checking his other posts, he was replying other questions and I thought he gave up.. That was the reason to respost..

    ASP.NET help html com

  • Could somebosy help me this rendercontrol issue
    E Ersan Ercek

    Before I get crazy. :) Here is the history, abhishek was helping me however he is off I guess and I need an urgent hand.. http://www.codeproject.com/Messages/3276367/create-HTML-page-for-emailing-again.aspx[^]

    ASP.NET help html com

  • create HTML page for emailing again
    E Ersan Ercek

    Hi Abhishek, Are you dealing with this or shall I define an new entry, if you are no more dealing with that I need assistance from somebody else. Thanks alot.

    ASP.NET html help

  • create HTML page for emailing again
    E Ersan Ercek

    Hi Abhishek, Any news, have you found time to test it? I know I am pain in a.., but this is what i need to finalize the site.. Thanks alot.

    ASP.NET html help

  • create HTML page for emailing again
    E Ersan Ercek

    Dear Abhishek, here is the code. Thanks alot... ASPX PAGE; <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <table id="tobesent" style="margin-left:auto; margin-right:auto; position:relative;"> <tr> <td> <div id="centrallarge"> <h1 style="height:85px; width:900px;"><img src='http://www.salatabufesi.com/images/SalataPage.jpg' alt="Salata"/> </h1> <h1 style="height:45px; width:900px;"><img src='http://www.salatabufesi.com/images/SalataBufesi.jpg' alt="Salata Büfesi"/> </h1> </div> </td> </tr> <tr> <td> <div id="central" style="height:400px; margin-top:30px;"> <table id="Tablo" style="margin-left:auto; margin-right:auto; position:relative;"> <tr id="Satir1" style="height:25px; vertical-align:top;"> <td> </td> <td> </td> <td id="Sutun1"> <asp:Label ID="lblAciklama" runat="server" Font-Names="Tahoma" Text=" "></asp:Label> </td> </tr> <tr style="height:25px; vertical-align:top;"> <td> </td> <td> </td> <td> <asp:Label ID="lblOnMusteri" runat="server" Font-Names="Tahoma" ForeColor="Red" Text="Sipariş Adresi: "></asp:Label> <asp:Label ID="lblMusteri" runat="server" Font-Names="Tahoma" Text=" "></asp:Label> </td> </tr>

    ASP.NET html help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups