|
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.
|
|
|
|
|
Mary, this site is devoted to Microsoft tools, especially Visual Studio. There are other tools available, of course, including Dreamweaver, but there are few people here who are familiar with products other than those offered by Microsoft. I use Dreamweaver and Visual Studio, but although both are excellent products, I'm not very skilled at using either. From my experience, if your primary focus is on building attractive, balanced sites with the minimum effort, Dreamweaver is probably your best choice. If your interest is primarily in building sites with a high degree of functionality and tight integration with backend systems, the Visual Studio course is a better choice. Microsoft provides tools which are extremely powerful and targeted at software developers, but their tools are rather weak in the design arena. Adobe caters to designers, not programmers, and provides tools which make an artist's life less stressful. A web designer can accomplish her goals using either toolset; both are quite capable of producing brilliant designs. But each has strengths and weaknesses. Only you can decide which fits your needs best.
Will Rogers never met me.
|
|
|
|
|
Generally, Roger, I would agree. However, Microsoft technologies are not the only game in town. PHP/MySQL is used across the internet, arguably, in greater numbers. And the tools you use won't cost you an arm and a leg like Microsoft and Adobe do. And if you are interested in blogging using such as WordPress, for example, and using a CMS such as Joomla, for example, would require PHP/MySQL. Besides, LAMP hosting is usually far cheaper than hosting using Microsoft technologies.
modified 1-Aug-19 21:02pm.
|
|
|
|
|
No argument there, Richard. I only addressed the two systems that I've used; I'm not qualified to have an opinion on the others.
Will Rogers never met me.
|
|
|
|
|
I am new to WCF and I am trying to design wcf with SQL as backend.
So far I was able to:
1.Open solution and create my wcf service
2.in my IService.vb add following code:
Imports System.ServiceModel
Imports System.ServiceModel.Activation
Imports System.ServiceModel.Web
<ServiceContract()> _
<AspNetCompatibilityRequirements(RequirementsMode:=AspNetCompatibilityRequirementsMode.Allowed)> _
Public Class Service1
<OperationContract()> _
Public Shared Function SavePersonInfo(ByVal myPerson As Person) As String
Return "Hello, "
End Function
End Class
' Use a data contract as illustrated in the sample below to add composite types to service operations.
<DataContract()>
Public Class Person
<DataMember()>
Public Property MemberID() As String
<DataMember()>
Public Property GroupID() As String
End Class
3. Add <connectionstrings> to web.config
My question is?
Where would I call my DB connection/SQL function in order to save pass data?
|
|
|
|
|
Hi,
I've added a modal popup extender in my application as follow:
If ds.Tables(0).Rows.Count > 0 Then
ModalPopupExtender1.Show()
End If
If Checkbox1.Checked = True Then
loadgrid()
End if
However I've noticed that the modal pop up is loaded after checking the condition Checkbox1.Checked = True.
Any idea how to load the popup then check the condition Checkbox1.Checked = True
Cheers
|
|
|
|
|
I take it that you dataset is got inside you loadgrid() function, so of course you code would check that the dataset and then display the modal if it were empty. am I missing something here?
|
|
|
|