|
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.
|
|
|
|
|
Hi,
I have a gridview that contains a list of name and i want to use a modalpopup to modify each row.
The problem came when i want to sort the column name inside the gridview i've added an updatePanel outside the gridview to make sure that only the gridview is reloading. due to that my ModalPopupExtender is not working.
the code excute but i m getting nothing inside the popup below the code :
<pre lang="HTML"> <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:GridView ID="GridView1" runat="server" EnableViewState="false" AutoGenerateColumns="false"
DataKeyNames="Id" AllowSorting="True" OnSorting="OnSort">
<Columns>
<asp:TemplateField ItemStyle-Width="30px">
<ItemTemplate>
<asp:ImageButton ID="imgbtn" ImageUrl="~/images/modifier.png" runat="server"
Width="10" Height="10" OnClick="imgbtn" />
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField HeaderText="Name" DataField="Name" SortExpression="Name" />
</Columns>
</asp:GridView>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="GridView1" />
</Triggers>
</asp:UpdatePanel>
<asp:Panel ID="pnlpopupName" runat="server" CssClass="modal" Style="display: none">
<div class="modal-inner-wrapper rounded-corners">
<table width="100%" style="height: 150px;" cellpadding="0" cellspacing="0">
<tr>
<td>
</td>
<td>
<asp:Label ID="ID" class="TDclass" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td class="TDclass">
Nom & Prénom
</td>
<td>
<asp:Label ID="lbNomPrenom" class="TDclass" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<asp:Button ID="btnOk" runat="server" Text="OK" OnClick="btn_ok" />
<asp:Button ID="btnCancel" runat="server" Text="Cancel" />
</td>
</tr>
</table>
</div>
</asp:Panel>
<asp:Button ID="btnShowPopup" runat="server" Style="display: none" />
<asp:ModalPopupExtender ID="ModalPopupExtender" runat="server" TargetControlID="btnShowPopup"
PopupControlID="pnlpopupName" CancelControlID="btnCancel">
</asp:ModalPopupExtender>
and the code behind of the method that fill in the modalpopup :
<pre lang="c#">protected void imgbtn(object sender, ImageClickEventArgs e)
{
ImageButton btndetails = sender as ImageButton;
GridViewRow gvrow = (GridViewRow)btndetails.NamingContainer;
string Key = GridView1.DataKeys[gvrow.RowIndex].Value.ToString();
lbNomPrenom.Text = Server.HtmlDecode(gvrow.Cells[1].Text);
this.ModalPopupExtender.Show();
}
|
|
|
|
|
papy-boom wrote: <asp:AsyncPostBackTrigger ControlID="GridView1" />
The way you have used triggers here is not complete. A control with multiple events(no fixed default event) fails to raise a trigger, so always defining control's event that will trigger UP is good. Try adding the event that will trigger the update panel.
Read about UpdatePanel triggers here:
MSDN: AsyncPostBackTrigger Class[^]
ASP.NET: Understanding ASP.NET AJAX UpdatePanel Triggers [^]
papy-boom wrote: i've added an updatePanel outside the gridview to make sure that only the gridview is reloading.
Why do you need to put grid outside update panel in order to just refresh a grid? You should do opposite. Just put grid in update panel?
|
|
|
|
|
Hi
I am searching for a job in web designing
I had a doubt will all the companies use dreamweaver for html, css, javascript or we have to use notepad.
Do anybody know about it.
I worked in Kuwait for a school they had dreamweaver
I was just wondering how is it here.
Thanks,
Mary
|
|
|
|
|
Mary Abraham wrote: I was just wondering how is it here.
What here? This is a global website.
Mary Abraham wrote: searching for a job in web designing
Not a right forum for job search. This is a site where people share their technical knowledge.
Mary Abraham wrote: ....Do anybody know about it.
It depends. Based on requirements, resource and various other factors decide the tools to build a web page. Using dreamweaver is not a thumb rule.
|
|
|
|