Jump to content

Bhushan

Members
  • Posts

    48
  • Joined

  • Last visited

Posts posted by Bhushan

  1. Hi All,I am populating datagrid from my database. I have 3 columns in my datagrid. First is editableCommandColumn, second is my primary key field column and third one is description column.Description contains 3 fields. So I have made use of template column and have used html table to place those 3 fields in 3 rows.But this field should be editable when I click the edit button. But hw can i make use of EditItemTemplate in table?..I tried to place this iside but gives error.Please see the below piece of code.<asp:TemplateColumn HeaderText="GIMS Details"> <ItemTemplate> <table border="1" width="450"> <tr> <td width="18%"> Description </td> <td> <%# DataBinder.Eval(Container.DataItem,"Description")%> </td> </tr> </ItemTemplate></asp:TemplateColumn>Hoe can i make this field editable by placing a text box with mode="multiline". Please let me know.

  2. Hi All,I am populating datagrid from my database. I have 3 columns in my datagrid. First is editableCommandColumn, second is my primary key field column and third one is description column.Description contains 3 fields. So I have made use of template column and have used html table to place those 3 fields in 3 rows.But this field should be editable when I click the edit button. But hw can i make use of EditItemTemplate in table?..I tried to place this iside but gives error.Please see the below piece of code.<asp:TemplateColumn HeaderText="GIMS Details"> <ItemTemplate> <table border="1" width="450"> <tr> <td width="18%"> Description </td> <td> <%# DataBinder.Eval(Container.DataItem,"severity")%> </td> </tr> <tr>

  3. Hi,Even I am facing the similar kind of problem. In my problem, I am scrolling down the page and and when I am half down the page and click one button there to see some data related to that row, it's opening the new window but the focus is going to the first row of the page. I mean it's going back to start of the page.Please let me know how can I correct this??..Thnx,Bhushan

  4. Hello, This is Sanjeev(Senior of Bhushan, using his ID)According to ASPNETGUY, the solution to the current problem seems so. But then other way to check around is to see if the MSACCESS file is openede by any early connection or OPENED manually and did not close while in a Query Mode. If so then please close the MSACCESS file and delete the .LDB file (Locking) so that it releases all the keys.Each time you connect, please write the IDISPOSE function for the class to close all the connections, if you forget to close it at the time when u have opened the connection.

  5. I tried to use the oop for the connections, i build a class ia called connections and i make functions in this class to open the connections and one to closein the one that i open the connection a i also send the query that i want to run.sometimes i got exception that the file is alerady in use and that the dsn (unknown filename)If someone can help me i'll be gratefull.

  6. Hi,Could anyone tel me which is correct ??What XML stand for ???a) Xtensible Markup LanguageOR:) Extensible Markup LanguagePlease tell me. This question may be unnecessary one.but i have this confusion...Thnx.

  7. Hi Skemcin,Thanks for that information. I require one information from you. Could you please tell me how useful it would be if I start using ASP.NET ?.I heard from one of my collegue that ASP.NET can be used both for client side validation as well as for server side scripting.Please let me know if my understandign is correct.Thanks in advance,Bhushan.

  8. HI,Please look at the following code taken from the w3schools.com which would tell you how you can do this. You have to do it programatically. There is no tag as such to achieve this as far as my knowledge goes.Thnx,Bhushan.

    <html><head><style>body{font-family:arial;}table{background:black;position:absolute;}a{color:black;text-decoration:none;font:bold}a:hover{color:#606060}td.menu{background:lightgreen}table.topnav{font-size:80%;top:0;left:0}table.menu{font-size:100%;bottom:0;z-index:-1}</style><script type="text/javascript">var i=0var c=0var intHidefunction show_hide_menu(){if (c==0)	{	clearInterval(intHide)	intShow=setInterval("show()",10)	c=1	}else	{	clearInterval(intShow)	intHide=setInterval("hide()",10)	c=0	}}function show(){if (i>-100)	{	i=i-1	document.all("menu").style.bottom=i	}}function hide(){if (i<0)	{	i=i+1	document.all("menu").style.bottom=i	}}</script></head><body><table class="topnav" width="150"><tr><td bgcolor="#FF0000" onclick="show_hide_menu()"><b>MENU</b><br /><table class="menu" id="menu" width="100%"><tr><td class="menu"><a href="/html/default.asp">HTML</a></td></tr><tr><td class="menu"><a href="/xhtml/default.asp">XHTML</a></td></tr><tr><td class="menu"><a href="/css/default.asp">CSS</a></td></tr><tr><td class="menu"><a href="/xml/default.asp">XML</a></td></tr><tr><td class="menu"><a href="/xsl/default.asp">XSL</a></td></tr></table></td></tr></table><p>Click on the MENU to see the menu options.</p></body></html>

    I've been using html for about a month now but I still can't seem to figure out how to add a menu on the left side of the page. But I still want to be able to write beside it. Please help me.

    [edit]: wrapped code in codebox - skemcin
  9. Hi Dan,Thanks for your information.It may not be important to have a default value but there would be a default attribute value. Could you please tell me if you know the answer. Thnanks.

    1 The default of SHAPE attribute is not important, you should define it anytime :)2 Yes indeed, but it is the other way around. The usemap attribute gets the value of <map id="..."> :)

  10. Hi Dan,Thank you very much for spnding some time. I am almost clear on this now. 1) Could you please let me know what is the default for <area> ?. Is it the rect or circle ?.2) One more thing, Is this <map id="panetmap" is going to take the value from <usemap="#planetmap" ??.Thanks in advance,Bhushan.

    Haven't you already read the explanations then? To me it was very clear :)Well, there are <map> and <area />.<map> should be used somehow like this: <map id="unique_identification">...</map>.<area /> should be used somehow like this:<area shape="some_predefined" coords="some_numbers" href="some_page.htm" target="somewhere" alt="some_text" />The links I gave are self explaning, if not to you, either fetch the attributes they list over there that you don't understand, or reread the (X)HTML tutorial :):(

  11. HI Group,I am attaching a piece of code from w3schools.com regard to MAP tag. I need to know how does it work logically. I also found that it has got 2 sections like Client side mapping and server side mapping. What does it mean ??. We know that we include <area> tag inside <map> tag. What's the default attribute for <area> ??. Is it the rect or the square ??.kindly spend your precious time and let me know.Thanks in advance,Bhushan.<p>Click on one of the planets:</p><img src ="planets.gif"width ="145" height ="126"alt="Planets"usemap ="#planetmap" /><map id ="planetmap"name="planetmap"><area shape ="rect" coords ="0,0,82,126" href ="sun.htm" target ="_blank" alt="Sun" /><area shape ="circle" coords ="90,58,3" href ="mercur.htm" target ="_blank" alt="Mercury" /><area shape ="circle" coords ="124,58,8" href ="venus.htm" target ="_blank" alt="Venus" /></map>

  12. Hey,Thanks for the information. I have understood it very much.Thnx,Bhushan.

    The general rule of thumb is, when in doubt use "post".  Get is typically only used for a "search" type application.  Since "get" (as defined below) puts information in the URL, it can be bookmarked - which means users can come back to that page without having to input the values into your form again - its a time saver.Cited from:http://www.w3schools.com/tags/tag_form.asp

  13. Hi,It's very easy. You could use frames to do this. Include these frames in a frameset and you could achieve your target.Thnx,Bhushan.

    hi! I'm just new to creating webpages and I've been using the internet and some books for reference. But I can't seem to find how to havea split background. by split, what I mean is, for example i want the left side of the page to be black and the other half to be pink. is this possible? I really appreciate your help! :)

  14. Hi Kiradikash,Please look at the following code. Similarly you could apply the logic into your code.<html><body><a href="abc.htm" target="_blank">homepage</a> <a href="hello.htm" target="_blank">page1</a> <a href="red.htm" target="_blank">page2</a> <a href="pink.htm" target="_blank">page3</a></body></html>

    Hello Everyone,I have a quick question about HTML coding. I am working on a website. I have my pages set up, and the frames in. But I can't figure out how to put a space between links on the same line. For example...lets say I have 5 links... "Home Page", Page 1", "page 2", "Page 3", and "Page 4". When I put the HTML coding for them on my page they ended up looking like..."Home Page""Page 1""Page 2""Page 3""Page 4"How do I get them to look like..."Home Page"  "Page 1"  "Page 2"  "Page 3"  "Page 4"I have tried using the number entity for a space ( ) without the braces of course...but I can't get it to work. If you would like me to send you a copy of my coding I can. I just want the links to be along the top of my page so they can get to them from that page. (already have a nav bar on the left...long story)Could anyone pelase help me? Any help would be greatly appreciated! Thanks ahead of time for any help you can give.Sincerely,Kiradikash

×
×
  • Create New...