|
Ya thats my problem, can u help me?
Thanks in advance.
|
|
|
|
|
ASP.NET 2.0 wrote: Ya thats my problem, can u help me?
As I told earlier, I don't find any solution for this. I will suggest you something, but don't know whether it is appropriate.
1 - When sending mail try attaching the images tooo. This won't work for images that you set as background.
2 - Upload images to an online server which is accessible through internet. In your mail refer this address.
|
|
|
|
|
Hi Everyone,
I have problem with printing envelopes using css(Stylesheet). Can anyone help me with a sample code for an envelope to print
Regards,
Manowj
|
|
|
|
|
CSS obviously formats how your page looks on the screen, which then is how it's going to print, but I'm not sure that you've worded your question well. What exactly is the problem ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
In CSS i have made settings for an envelope but on the screen, it shows the default legal size(A4) on the screen. The same is going to print
Regards,
Manowj
|
|
|
|
|
You can't make the window smaller, although you can set up the web page to be the size of an envelope.
A web page doesn't have a size, actually, it just keeps rendering while there's data to render.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hi all
i have made and copied p3p policy files in a folder named "w3c" int the folder where my application is present.But in IE it still shows no privacy policy for my website.Can anyone tell me what am i may be missing?
Rama Charan Prasad
"Be happy and Keep smiling.Thats what u want be always.. "
|
|
|
|
|
HI friends ,
I am useing
Page P = Page.PreviousPage;
TextBox text = (TextBox)P.FindControl("TextBox1");
I am geting previous page's control if my previous page do not have masterPage.
But if my previous page is in masterpage then i am not getting previous pages control
i have also tried
TextBox text = (TextBox)P.FindControl("Contentplaceholder_TextBox1");
pls help me how to access controls of previous page.
|
|
|
|
|
cross page postback is a nasty hack. The fact that you have to do this at all, sucks. What if you write a recursive function that looks for TextBox controls in the Controls collection of the previous page ?
I sure hope you don't really have a textbox called TextBox1.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Well i guess!!
Check what is the prefix that ur masterpage is assigning to the contol..
Try checking the viewsource
along with the
Contentplaceholder_
thing it normally adds a lot of character and numbers to it..
Try doing this
kuwl_mark wrote: TextBox text = (TextBox)P.FindControl("Contentplaceholder_TextBox1");
replacing Contentplaceholder_ with the actual prefix..
Not still sure whether its work for the previous page thing but worth a try!!
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
i would like to open calendar control in a pop-up window when user clicks a button.
Thanks&Regards,
Priya.
|
|
|
|
|
OK - well, there are a ton of javascript calendar controls on the web, why not just use one ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
please let me know one javascript which makes that calendar control to pop-up in new window/form.
Thanks&Regards,
Priya.
|
|
|
|
|
Which calendar control ? There are tons of them around, and they generally encapsulate all the javascript code that causes them to act as popups, etc. Often, the 'popup' is in fact a div on the page, but that is irrelevant. You can just download a control and use it.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi u create one child aspx page for calender ok..
copy this code in to page_load of parent .aspx.cs page
btncalender is button
btnCalendar.Attributes.Add("onclick", "new_window('calendar.aspx')");
--------------------------------------------
copy bellow code to in .aspx this java script function
function new_window(url)
{
var argArray = new Array();
popupWin = window.open(url,"",'dialogTop:100px;DialogLeft:150px;DialogHeight:625px;DialogWidth:850px;scrollbars:YES;menuBar ;status:no;center:Yes;unadorned:Yes;resizable:No;scroll:No;Help:No');
window.top.name = 'opener';
}
first complete this in parent page after that reply to me i will send next process
|
|
|
|
|
Hi u create one child aspx page for calender ok..
copy this code in to page_load of parent .aspx.cs page in code behind
btncalender is button
btnCalendar.Attributes.Add("onclick", "new_window('calendar.aspx')");
--------------------------------------------
copy bellow code to in .aspx this java script function in HTML page
function new_window(url)
{
var argArray = new Array();
popupWin = window.open(url,"",'dialogTop:100px;DialogLeft:150px;DialogHeight:625px;DialogWidth:850px;scrollbars:YES;menuBar ;status:no;center:Yes;unadorned:Yes;resizable:No;scroll:No;Help:No');
window.top.name = 'opener';
}
first complete this in parent page after that reply to me i will send next process
|
|
|
|
|
finished with that process,
now what shud i do, to open in new window
Thanks&Regards,
Priya.
|
|
|
|
|
try this
Javascript
<script language="javascript" type="text/javascript">
function popup(val)
{
ref = "calc.aspx?id="+val;
var strFeatures="toolbar=no,status=no,menubar=no,location=no"
strFeatures=strFeatures+",scrollbars=no,resizable=no,addressbar=no,height=250,width=220"
newWin = window.open(ref,"TellObj",strFeatures);
newWin.opener = top;
}
</script>
Create one page and named it calc.aspx and put calendar control
In code behind file of calc.aspx.cs write belove code to get value in textbox
string val;
protected void Page_Load(object sender, EventArgs e)
{
if (Request.QueryString["id"] != null)
val = Request.QueryString["id"].ToString();
}
protected void Calendar1_SelectionChanged(object sender, EventArgs e)
{
if(String.IsNullOrEmpty(val))
Response.Write("<script language = javascript>opener.document.getElementById('txtSearchStartDate').value='" + Calendar1.SelectedDate.ToShortDateString() + "'; self.close();</script>");
else
Response.Write("<script language = javascript>opener.document.getElementById('"+val+"').value='" + Calendar1.SelectedDate.ToShortDateString() + "'; self.close();</script>");
}
Now call javascipt and open popup window on click of link.
<a href="javascript:;" onclick="return popup('txtSearchStartDate');">Calendar
</a>
best Regard
pathan
---------------------------------------------------
|
|
|
|
|
Hi next here u copy and past in to ur child page but u create calender , 2click ur calendar in code behind u past this .and i mention below code one line u give ur parent page name so c that line and give ur parent page name
protected void Calendar1_SelectionChanged(object sender, EventArgs e)
{
foreach (DateTime dt in Calendar1.SelectedDates)
{
Session["Date"] = dt.ToString("dd/MM/yyyy");
Page.RegisterClientScriptBlock("CloseWindow", "window.opener.document.forms[0].submit();window.close(); ");
Page.RegisterStartupScript("parentwindow", "window. opener.location.href = 'here give ur parentpage.aspx'; ");
}
}
}
after that before msg i sent one line for parent page in code behind u should past that line as bellow
protected void Page_Load(object sender, System.EventArgs e)
{
if(!Page.IsPostBack)
{
btnCalender.Attributes.Add("onclick","new_window('childpage.aspx');");
Session["Date"]=null;
}
if(Session["Date"]!= null)
{
TxtBox1.Text=Session["Date"].ToString();// note TxtBox1.Text is in which txtbox u need to copy the date that box
}
its works good
Thanks and Reg
nandha
|
|
|
|
|
Hi,
Can any one Please explain or provide links to create a secure login page and the necessary things that have to be taken care in login and other pages.
Please let me know your thoughts, this is a financial site and security must be Very high priority.
Regards,
Jagadeesh
|
|
|
|
|
So - you're being paid to work on a financial website, and you are relying on a forum post to teach you about security ?
What were your thoughts on the subject of how to make your site secure ? Will you use https ? If not, I presume the site doesn't have to be terribly secure at all ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
bhhhnvbnvn
g
hggkgk
g
k
g
kgkm
|
|
|
|
|
Hi Christian Graus,
We need to use https...
Just i what to know security related issues related to using session, connection string, cookies, DB etc.
Please let me know your thoughts.
Regards,
Jagadeesh
|
|
|
|
|
You need to use Google and buy some books. If this is for a financial institution you are asking very basic questions.
_____________________________________________
Flea Market! It's just like...it's just like...A MINI-MALL!
|
|
|
|
|
Yes, I was feeling very afraid.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|