Jump to content

cyrus71

Members
  • Posts

    18
  • Joined

  • Last visited

cyrus71's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. hi,I want to create an area (for example width=500, higth=200) that contains moving images. My english is not so good and i dont know how formulate my problem,I have 20 images (100, 200) I wan to have an area that just has place for 5 images. those 20 images moves in this area rekursivly like a slide.how can i make it.thanks
  2. Thanksother event handlers work good,
  3. Hi,What I am trying to do is make my gridview be editable , the problem is when I click on the edit button nothing happends , i mean the EditItemTemplates do not show up, I dont know why , thank you for your helphere is some code:asp:GridView ID="TimeSheetsGridView" OnRowEditing="TimeSheetsGridView_RowEditing" DataKeyNames="TimeSheetId" runat="server" AllowSorting="True" OnSorting="TimeSheetGridView_Sorting" AutoGenerateColumns="False" Width="672px" EditRowStyle-Wrap="true" AllowPaging="True" BorderWidth="0px"><Columns><asp:BoundField DataField="Id" HeaderText="Identification" ReadOnly="true" Visible=false/><asp:TemplateField HeaderText="Date" SortExpression="Date" ><ItemTemplate><asp:Label ID="DateLBL" runat="server" Text='<%# Eval("TDate") %>'></asp:Label></ItemTemplate><EditItemTemplate><asp:TextBox ID="DateTXT" runat="server" CssClass="catname" Text='<%# Bind("TDate") %>'></asp:TextBox></EditItemTemplate></asp:TemplateField><asp:CommandField ShowEditButton="True" HeaderText="Edit" ButtonType="Image" EditImageUrl="Images/icon-edit.gif"UpdateImageUrl="Images/icon-save.gif" CancelImageUrl="Images/icon-cancel.gif" /><asp:CommandField ShowDeleteButton="True" HeaderText="Delete" DeleteImageUrl="Images/icon-delete.gif"ButtonType="Image" /></Columns><EditRowStyle Wrap="True" /></asp:GridView>
  4. Hello I am working on my little forum,when sombody wants to answer a Topic, a popup window is opened and he can write his answer, when he is finnished he click on a button and the Topic goes to my DB, so far everything goes well, but i want that when he close the popup window the parent window which shows all topics be refreshed automaticly. but i have failed, it so easy and it is making me crazy.here it is a part of my popup file:<%@ Page Language="VB" Src="dbForum.vb" Inherits="dbForum" Debug="true" %><script runat="server"> Dim rubrik As String Dim brodtext As String Sub hamtaInlagg() Dim inId As Integer = Request.QueryString("inId") Dim myConnectionString As String = "Driver={MySQL ODBC;Option=3;" .... ..... End Sub</script><html><head> <!-- #include virtual="head.inc" --> <script type="text/javascript"> function refreshing() { var oParent = window.visainlagg.aspx; oParent.location.reload(); window.close(); } </script></head><body> <%If Request.QueryString("sent") = "yes" Then %> <enter><b> your Topic has been sent </b><br> <p><center><a href="refreshing()"><b>close window !</b></a></p> <%Else %>
  5. Thank you so much, i have to say that i am working on .NET and execute the aspx files.I did what you said exactly, and it is what i got.The page cannot be found The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. --------------------------------------------------------------------------------Please try the following:If you typed the page address in the Address bar, make sure that it is spelled correctly.Open the localhost home page, and then look for links to the information you want. Click the Back button to try another link. HTTP 404 - File not foundInternet Information Services--------------------------------------------------------------------------------Technical Information (for support personnel)More information:Microsoft Support
  6. Thank you ,How can i use it?i have a link on the popup window that closes the window, how my link kan use this script.?
  7. Hi everybodyIs there any way that you can close a popup window and update another window (like a .aspx file)here when i click on "close window" in a popup window i want to refresh another file<a href="java script:window.close()">close window</a>but how??grateful for your answer.
  8. cyrus71

    problem with iis

    hello,I am newbie on IIS, i drive win xp pro, and IIS 5.1about few month ago i installed IIS and i began practising asp, vb and c# it worked well,untill two days ago i wanted learn more about iis because it goes well when i typed http://localhost but i could catch my server when i typed http://my.ip.address from another computer, i have no router and dynamic ip adress.so i began to play with it to learn more and solv the problem, i goes in "default web site -> properties -> how directory " and placed a tick on write checbox and then i can not remember i got something about some list which want to be chosen i chose all of then and then apply, i dont know what i have done, i played a little with the embeded firewall on win xp, and know my little lovely iis stoped work complitly when i type http://localhost i get error message "the page cannot be displyed"another thing when i go to my iis and add new virtual directory, the virtual directory works well.very grateful for your help
  9. do you make fun of me?I needed help to get it workit doesnt work correctly, it change just the menu
  10. Here the link: http://www.kurf.se
  11. Hi ,I am newbie on HTML,I am trying to do a homepage in two languages but it doesn't workhere is what i have done:I have a index.htm that contains three frames top, mainframe and left,the top frame contains an image that i have mapped by MappEdit and it works like a menu (it contains 5 links, two of this links is done for linking back and forth between two languages).first when you go to site, it is on kurdish and all links works well, but as soon as you click on the link which changes to swedish so all my links stop working.the structure is like this:index.htm (menu.htm lies in top-frame and has two link for langauages)main.htm it must lie in mainFrame (in kurdish)/swedish/indexSV.htm exakt like index.htm but in swedish has same frames and same links/swedish/mainSV.htm it lies in mainFrameSV in indexSV.htmi can give you the link to homepage to see it but you may not can kurdish or swedish but you can see the code.i need your help thank you
  12. hiI am trying to learn ASP, at W3chools,i came so long that i want to create, read or write a file or check last modified date on files.when i have one of following lines (rows), my script wait and wait for ever, nothing happend,1. set filename=FS.CreateTextFile("c:\test.txt",true)2. Set RS = FS.OpenTextFile(Server.MapPath("text") & "webbhotell.txt",1)3. Set RS=FS.GetFile(Server.MapPath("app1.asp"))4.Set file=FS.OpenTextFile(Server.MapPath("webbhotell.txt"), 1)I have tested with 4 different files and i have tested line by line, when i have one of those 3 line efter Set FS=Server.CreateObject("Scripting.FileSystemObject"), so my script wait and work for ever and nothing happend.i need help
  13. hi I am trying to learn ASP, at W3chools,i came so long that i want to create, read or write a file or check last modified date on files.when i have one of following lines (rows), my script wait and wait for ever, nothing happend, 1. set filename=FS.CreateTextFile("c:\test.txt",true) 2. Set RS = FS.OpenTextFile(Server.MapPath("text") & "webbhotell.txt",1) 3. Set RS=FS.GetFile(Server.MapPath("app1.asp")) I have tested with 3 different files and i have tested line by line, when i have one of those 3 line efter Set FS=Server.CreateObject("Scripting.FileSystemObject"), so my script wait and work for ever and nothing happend.i need help
  14. ok I have tryed it, how many minutes must i wait? I have been waiting for some answer from server it works and nothing appear.ok , finaly i got following message:Error Type:Active Server Pages, ASP 0113 (0x80004005)The maximum amount of time for a script to execute was exceeded. You can change this limit by specifying a new value for the property Server.ScriptTimeout or by changing the value in the IIS administration tools./asp_exempel_kod/server/modifierad_fil.aspI don't know, maybe something missing in my server, because all other my examples works well, i have connected my database and i made server object of ADODB likeset Conn = Server.CreateObject("ADODB.Connection") and it works good.just those file that have one of following object, don't work.Set RS = FS.OpenTextFile(Server.MapPath("text") & "/webbhotell.txt",1)orSet RS = FS.GetFile(Server.MapPath("app1.asp"))orSet fileNeme=FS.CreateTextFile("c:\test.txt",true)why when i have one of those rows my scripts dont works?
  15. yes it is but not in the same liberary,i copied app1.asp, to the same directory but, it doesn't work, i dont know i am not so good att iis , i dont now if it is my server and i must download some file or something,otherwise my server works good it connect database, sending mail,
×
×
  • Create New...