|
indian143 wrote: So, it means that I dont have any other option to get it done
Well, put it this way. The bulk of the answers you've got, have been from me, and I've been telling you from before you started that this was not the way to go. So, yes, you need to explore another option, even if it's another way to get info on how to make this work. At a minimum, it seems that no-one here has any better advice to offer. And like I said, without looking at your code, I don't see how your question can be answered.
indian143 wrote: but my client is considering as it is my fault only.
Well, in some ways, it is. When a client asks for something that you don't know can be done, you should make it clear that you're initially offering to do paid research, not that you will find a way to do something that may not be technically possible. In the case of web dev, I would ask if they know of a site that does what they want, so you can establish if it's possible, and get something to look at to give you clues.
indian143 wrote: I feel very bad that I couldnt do it.
Yeah, I know it's tough. The most you can hope is that you've learned some things from the experience. Some things just can't be done, and most clients assume that we can do anything. That part is definately NOT your fault
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Hi All,
I m working on a shoping cart named etradehouse.com. We use different Payment Methods for that shoping cart. We have integrated our shoping cart with World Pay. Now we want to integrated it with pay pal. Can any one tell me how ? Any useful link with examples for that.
|
|
|
|
|
|
|
|
Hi folks, hope all's well. Sorry if this question has already been asked, if it has can someone post the link, I can't find it anywhere?
I need a little guidance please to choose the 'right' approach, as I am a newbie to ASP, ASP.NET and DHTML, however I have many years experience with MFC & VC++.
I am trying to add a web user control on several ASP.NET 2.0 web forms in VB.NET.
It's going to be a multi-column list control with fixed column headers, sortable columns when user clicks the header, alpha search when the user types on the keyboard, etc, basically all the usual stuff you'd expect from an VC++ MFC win app.
1. Used the wizard to create a 'Web User Control' in VB, and got 2 files: WebUserControl.ascx & WebUserControl.ascx.vb
2. I dragged a label into the control, and set some cell text: 'What the foo-k?'
3. Used wizard to create a 'Web Form': Default.aspx & Default.aspx.vb
4. Added a few labels & edit boxes from the toolbox's Standard section.
5. Half way down the form I dragged listPLU.ascx from 'Solution Explorer' and hey presto, saw my label, yee hah!
6. So now I need to know what the best approach is to replace the 'foo' label with a customizable list view control that responds to client events? Should it be a with formatting and heavy scripting? It only needs to work in IE
Thanks in advance for any help and guidance any of you kind people can offer me.
Will.
|
|
|
|
|
You want a datagrid or a gridview.
These controls are basically engines for generating <table>s, and binding them to data.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
So the solution is a customised table in a user control for reusability.
I tried "Response.Write" to output a simple table's HTML in the user control's "Page_Init" function.
But in the source, the control's HTML appears above the holding page's HTML, and doesn't show in the browser. ie. It's not placed into the position of the control on the sheet.
How do I get the table to appear in the correct place in the holding page? ie. Where should I place the code to dynamically construct the table?
Remember that this control needs to respond to user evens such as clicking on the THEAD section to sort by columns, or key down to search the list for the required text (using a timer).
Thanks in advance for all your help,
Will.
|
|
|
|
|
Guys,
This article looks like it really helps:
http://www.codeproject.com/useritems/AutocompleteTextbox.asp
It explains:
1. Where to put your control's HTML so that it appears in the corrrect place in the parent page, when it's rendered.
2. How to inject the js file includes into the head that will process/link all the control events.
Ta!
Will.
|
|
|
|
|
Dears
In ASP.NET 2 web application, Can I create strongly typed dataset (xyz) and then select some record based on query
i.e. Select * from xyz where ID = 999 and job=IT
same as normal database table query and then the out put will be bind to GridView
and if I create this strongly typed dataset can I write code to be used by all users of application . I mean use it as temporary storage for transaction.
thanks
|
|
|
|
|
Hi friends,
I am working in ASP.Net 2.0. In my applcation i am sending mail to some applicant. Its working well and that applicant also received mail. But now my problem is, i want to make bold some characters in the subject of the mail.
for ex:
RequestDetails: Request for leave
if above is the subject of the mail, then i want to make that RequestDetails to be displayed as bold.
Please Help Me.
Thanks in advance,
Regards,
R. Sangeetha Priya
Prya
|
|
|
|
|
Set IsBodyHtml=True for the MailMessage Object and use the HTML tags for the formatting.
|
|
|
|
|
Hi,
Thanks a lot.
this is my code.
try
{
client.Host = ConfigurationManager.AppSettings["MailServer"];
string subject = "Applying a Request on : " + requestDate;
string body = @" To Date : " + requestDate + LineBreak + " Request
Details : " + request + LineBreak + " Employee Name : " +
userName + LineBreak + " Applied Date : " +
DateTime.Now.Date.ToLongDateString();
MailMessage mailMessage = new MailMessage(requestApplicationImp.UsrEmailId,
requestApplicationImp.MgrEmailId,subject, body);
client.Send(mailMessage);
}
In the above code, i want to make To Date, Request Details... to be in bold.
Please help me.
Regards,
R. Sangeetha Priya
Prya
|
|
|
|
|
aaraaayen wrote: try
{
client.Host = ConfigurationManager.AppSettings["MailServer"];
string subject = "Applying a Request on : " + requestDate;
string body = @" To Date : " + requestDate + LineBreak + " Request
Details : " + request + LineBreak + " Employee Name : " +
userName + LineBreak + " Applied Date : " +
DateTime.Now.Date.ToLongDateString();
MailMessage mailMessage = new MailMessage(requestApplicationImp.UsrEmailId,
requestApplicationImp.MgrEmailId,subject, body);
client.Send(mailMessage);
}
client.Host = ConfigurationManager.AppSettings["MailServer"];<br />
string subject = "Applying a Request on : " + requestDate;<br />
string body = @" <b>To Date :</b> " + requestDate + LineBreak + " <b>Request <br />
Details :</b> " + request + LineBreak + " Employee Name : " + <br />
userName + LineBreak + " Applied Date : " + <br />
DateTime.Now.Date.ToLongDateString();<br />
<br />
MailMessage mailMessage = new MailMessage(requestApplicationImp.UsrEmailId,<br />
requestApplicationImp.MgrEmailId,subject, body);<br />
mailMessage.IsBodyHtml=True;<br />
client.Send(mailMessage);
This should work...
|
|
|
|
|
Hi Venkatesh,
Thank you so much its working
Regards,
Prya
|
|
|
|
|
You are most welcome, Priya...
|
|
|
|
|
Hello Sir,
How are you could you please try for this, if possible please. I am struck
over here.
I have created a windows forms control in which I put a DSO Framer control. I have compiled it and registered in GAC. Even its doing fine when I used it in another windows application. But When I try to put it in a web page its not showing anything as it is the same thing showing the required word doc in windows application.
Please tell me what are the steps do I need to take to make it fine. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Hi,
I am creating a portal application where I have a Header with Menu control, an image behind the main page's background and a footer containing Home, Logg off links at bottom. In between there is a child container where in other child pages using this master page open.
Now what happens is that according to the content height of the child page, the master pages footer moves upwards keeping space at bottom. How to avoid this ? Pls guide me..
Pasted below is the Master page's HTML code and the css being used
<b> master page's contents</b>
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>HIS Knowledge Bank</title>
</head>
<link rel="stylesheet" type="text/css" href="StyleSheets/HISStyles.css" />
<body background="Images/All Page's Background.png" bottommargin="0">
<form id="form1" runat="server">
<div id="headerTop">
<table id="tblMaster" style="width: 100%; height: 30%">
<tr>
<td style="width: 100%" height="58px" background="Images/All Page's Header.png" align="right">
</td>
</tr>
<tr>
<td align="left">
<asp:Menu ID="mnMaster" runat="server" Orientation="Horizontal" PathSeparator=","
Width="100%" ForeColor="White" Font-Bold="true" Font-Names="Verdana" DynamicEnableDefaultPopOutImage="true"
StaticEnableDefaultPopOutImage="true" StaticPopOutImageUrl="~/Images/MenuArrowBlue.gif"
DynamicPopOutImageUrl="~/Images/MenuArrowBlue.gif" StaticSubMenuIndent="10px"
DisappearAfter="50" DynamicVerticalOffset="2">
<DynamicMenuStyle BackColor="#DFF6FD" ForeColor="#066684" BorderColor="" BorderStyle="Solid"
BorderWidth="2" />
<StaticMenuStyle CssClass="Menu" />
<StaticHoverStyle CssClass="StaticHoverStyle" />
<DynamicSelectedStyle ForeColor="#FFFFFF" />
<DynamicHoverStyle CssClass="DynamicHoverStyle" ForeColor="#FFFFFF" />
<DynamicMenuItemStyle ForeColor="#066684" HorizontalPadding="5px" VerticalPadding="2px" />
</asp:Menu>
</td>
</tr>
</table>
</div>
<div id="contentMain">
<table id="TableChild" style="width: 100%">
<tr height="100%">
<td style="width: 100%">
<asp:ContentPlaceHolder ID="cntrPlHldMasterPage" runat="server">
</asp:ContentPlaceHolder>
</td>
</tr>
</table>
</div>
<div id="footer">
<table id="TableFooter" style="width: 100%; text-align: center">
<tr>
<td bgcolor="#0B8DC7" style="width: 100%; height: 20px" align="center">
<font size="2" color="White" style="font-family: Verdana"><a href="Default.aspx"><font
color="white">HOME</font></a> | <a href="http://www.hexaware.com/abt.htm" target="_blank">
<font color="white">ABOUT US</font></a> | <a href="mailto:admin@hexaware.com"><font
color="white">CONTACT US</font></a> |<font color="white">
<asp:LinkButton runat="server" ID="lnkLogOff" Text="LOG OFF" OnClick="lnkLogOff_Click"
CssClass="HYPERLINKBUTTON" ForeColor="White"></asp:LinkButton></font>
<font style="font-size:smaller; font-weight:bold" >
<asp:HyperLink runat="server" ID="lnkHexCapabilities" Text="HEXAWARE CAPABILITIES"
ForeColor="yellow" NavigateUrl="./Documents/pps/HIS CAPABILITIES 20070109.pps"></asp:HyperLink>
</font></font>
</td>
</tr>
<tr>
<td bgcolor="WHITE" style="width: 80%; height: 20px; text-align: center" align="center">
<font class="csummittextw" color="Black" style="font-family: Verdana" size="1">© Copyright
2006, Hexaware Technologies Ltd. All rights reserved. | Site best viewed in IE 6.0
& above at 1024 x 768 resolution</font>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
<b>CSS is as follows</b>
html,
body {
margin ;
padding ;
height:55%; /* 100 % height */
}
html>body #headerTop {
position:relative;
z-index:10; /* Prevent certain problems with form controls */
}
html>body #contentMain {padding: 6em 1em;} /* 6em = height of #header and #footer + 1em, 1em = give the content some breathing space */
#footer {
width:100%;
}
Thanks and best regards
Omkar Ghaisas
|
|
|
|
|
I have created a web control which contains a panel and some labels in it. But I can not access those labels on the page where i am trying to use this control because its access specifier is protected. I want to change it to public but I can not find the code.Where can i find the code to change the access specifier of label from protected to public
|
|
|
|
|
My problem is that i am not able to collects from a URL automatically.
For example
i am created one window form.there is three control 1) text box for URL 2) Button for Get Data 3) textbox for
showing get data. now i want to put into URL text box -
http://www.pricerunner.co.uk/sound-and-vision/vision/tv/712631/prices. then i should click the get data button.
then it will return pricerange i.e £1437.75 - £1999.99 or lowest price only £1437.75. and that value will displat
into show data textbox.
pls let me help, how can we do this work. if we can sucess we will do it into a batch process.
We can use any techenology into .net framework
thanks in advance
samik nandi
|
|
|
|
|
i want to get a value of cell where check box is clicked.
and geeting an error of Oject Refence is not set to an instance of an object.
plz tell how i can get a value
foreach (GridViewRow row in GridView1.Rows)<br />
{<br />
bool result = ((CheckBox)row.FindControl("CheckBox1")).Checked;<br />
if (result)<br />
{<br />
String id = ((TextBox)row.Cells[0].FindControl("TextBox1")).Text;<br />
}<br />
}
|
|
|
|
|
Please check the RowType before you use FindControl function. I think you are searching the CheckBox in HeaderRow.
Use FindControl when the RowType is an Item.
|
|
|
|
|
hello everybody
i m making a web application with vs2003.
i hav to make a menu in that application.
plz suggest some site or respond with some code.
regards
Ajay
|
|
|
|
|
What type of menu do you required. Does the menu contains any sub menus?. If not create an User Controls with the Link buttons and on click of the Link button do what ever you need i.e. redirecting to some page.
If the menu contains sub menus let me know I will give you the code.
Regards,
Kalyan
|
|
|
|
|
</b>How to connect an sql query to a Button in asp.net???
Praveen.K
Graviton Technologies Pv.Ltd
Banglore
|
|
|
|