|
@Html.DropDownListFor(a => a.empID, @ViewBag.EmpName as System.Data.DataTable, "KEY", "VALUE", null, null, new { id = "ddlEmp", @class = "css class name" })
@Html.DropDownListFor(a => a.AddressList[index].State, @ViewBag.States as IEnumerable<SelectListItem>, "Select", Model.AddressList[index].State, new { @id = "ddlState", style = "width:74px; background-color : #E7F1BE;"})
-- modified 29-May-12 6:44am.
|
|
|
|
|
@using (Ajax.BeginForm("ActionName", "Screen Name OR Routing Name", new AjaxOptions() { InsertionMode = InsertionMode.Replace, UpdateTargetId = "div", HttpMethod = "Post" }, new { @id = "formName" }))
{Body of the screen}
-- modified 29-May-12 11:53am.
|
|
|
|
|
Hi
I want create chat for automation website, so client not send any request to server for respond, instead server send respond to client when received a message from other client.
Thank you.
mkmk
|
|
|
|
|
This would most likely be a little bit insecure. The client would have to provide an open socket endpoint which is typically blocked by local firewalls, routers, corporate firewalls.
Typically this is solved by doing AJAX style polling.
|
|
|
|
|
Not really clear on what it is you're after, but I suspect you want the server to notify the client, rather than the client requesting changes from the server - as mentioned in other post, there are several ways to do it - but for simplicity, you may want to do a quick google for SignalR
C# has already designed away most of the tedium of C++.
|
|
|
|
|
I am getting some scipt error when clicked on button in https page .This error is not in http pages.Error is below.
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.2; BRI/2)
Timestamp: Mon, 28 May 2012 05:46:41 UTC
Message: Access is denied.
Line: 6930
Char: 9
Code: 0
URI: http://localhost:51516/ScriptResource.axd?d=h_o86yu-K-6nTNA3HhMgZoSImLI-VZzHJp_zcYCqJKeY5fNfe2-pvJdiEviO7YYwdftPGkhPoEWeYhxg3VguzhSFtolRzruKiiGyuHbjt9skWfwZ8jL6v7dbwa5lxsUjQnMK7v7NyOOJpTG1dEwC62FYhPByOFqtZ3DqnQeTNoGBkiy5MycdjDpVux7e_GsN0&t=ffffffffbd2983fc
|
|
|
|
|
As the message shows, just check whether your web application authorizes the given uri.
|
|
|
|
|
Hello all...
i want to learn web designing as i havn't any experience or knowledge about it but i want to learn it.please guide me which platform or language will be best for me (ASP.NET,PHP etc).
|
|
|
|
|
I suppose the main choices are LAMP or Windows (though by no means the only choices). If LAMP then plump for php (easy to work with and learn); if Windows then Asp.Net with C# (a little harder).
You can get free tools to work and learn with either but I would suggest you start with a good book or find an introductory course to whichever technology you choose - there are many on line learning resources that are free.
Good luck.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
If you want to move to Wesites like stuff, then PHP is ideal choose for you, rest if need to move in development of some Security based Web Applications then ASP.Net is good.
- Happy Coding -
Vishal Vashishta
|
|
|
|
|
thx for ur attention...
i have windows 7 and iis7.5 now i want install php n mysql,for this what i need to be.either i install wamp/xamp or install php for iis7 n in past i installed iis7 n xamp but apache not work on that case.please clear me on this puzzels
|
|
|
|
|
I'm working on a website for work, just for fun, and I'm having a bit of trouble with one of the main elements. The entire page is enclosed in a DIV element of class "container." Next comes a DIV of class "header." Within the "header" DIV are two more DIV elements, classes "name" and "logo." These are used to hold the name of the company and the logo, oddly enough, with one set to float left, the other right. It's rather boring, I know, but I'm an engineer, not a designer. Still, it doesn't look bad. [^]
That's until you try scrolling down the page. The logo and name stay put in the browser window while the rest of the header moves up. That really wasn't what I intended, or expected. I thought that being in a containing DIV, these elements would position themselves in relation to the parent header DIV. I've tried modifying the position attribute through all the choices - relative, absolute, static, inherit, and fixed, but this behavior doesn't change. The parent container, header, has no float or position attributes, by the way, and I wonder if that might be where I should be looking for the solution.
Can someone provide some insight into where I'm going wrong with this?
Will Rogers never met me.
|
|
|
|
|
In your CSS, you have
a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
border: none;
position: fixed;
}
Change the position to relative
modified 1-Aug-19 21:02pm.
|
|
|
|
|
Wow! How the heck did you find that? I was looking in the master page where the actual images are referenced, and didn't think to look in the stylesheet. That particular bit was auto-generated by Dreamweaver, and I never even thought to question it.
Thanks!
Will Rogers never met me.
|
|
|
|
|
Roger Wright wrote: How the heck did you find that?
Took a couple of seconds with the help of Firebug on Firefox browser. You can do similar with Google Chrome with the inbuilt tools or the Firebug-Lite add-in.
IMO, when you (or rather DreamWeaver) placed the image giving it a fixed position, it took the image out of the document flow.
modified 1-Aug-19 21:02pm.
|
|
|
|
|
That makes perfect sense. Dreamweaver attempts to overcome the shortcomings of certain browsers who will go unnamed here by clever optimizations. Sometimes they backfire, apparently. Probably a better fix would have been to add a position:relative attribute in the DIV class affected, rather than the generic img tag style inserted by DW; that would override the default behavior for just this instance. But I'll leave it for now. Thanks, again!
Will Rogers never met me.
|
|
|
|
|
Hi,
I'm using one of the code given by Karin Huber for fixing first row and column of a html table.
I want to fix first row and first two column. I made some changes in code and got the desired thing but my second column is getting displayed twice. So i've one extra column in table. Please help me.
|
|
|
|
|
Member 8979058 wrote: I'm using one of the code given by Karin Huber
Then I guess you know who to talk to about it.
Programming is work, it isn't finger painting. Luc Pattyn
|
|
|
|
|
If u know how to do it then tell me.
Else don't post stupid things on it. Programming is like hair dying.
|
|
|
|
|
Did you look at your question and did you read my answer? Who is Karin Huber, and how are we expected to know how to fix his/her code?
Programming is work, it isn't finger painting. Luc Pattyn
|
|
|
|
|
sir this is the link to her code. If this is the issue u can tell me to post the code.
_http://www.codeproject.com/Articles/14563/Fixed-headers-in-large-HTML-tables
|
|
|
|
|
OK, so it's in response to a CodeProject article. In that case you should use the forum at the end of the article and post your question there.
Programming is work, it isn't finger painting. Luc Pattyn
|
|
|
|
|
|
Countered (again).....sheesh...shome people
C# has already designed away most of the tedium of C++.
|
|
|
|
|
Thanks; as you say "some people".
One of these days I'm going to think of a really clever signature.
|
|
|
|