|
asp and asp.net are two different things, which one are you using ?
What do you mean by having a backup in an external page ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
sorry it was my bad
it is ASP.Net
and the backup I meant that is I want to have a copy of my project in an external storage device(CD , flash memory or an external HD)
thanks a lot
knowledgestudent
There is always something to learn
|
|
|
|
|
Hi.
Did any1 have experience with how 2 integrate office communicator (IM) /ASP.NET web application?
Thank u,
Alex.
|
|
|
|
|
hi,
i am using ajax tool kit and wrote the code for dynamically loading images but when i run the application it is not showing any images.i am giving the code what i have wrote.
public static AjaxControlToolkit.Slide[] GetSlides()
{
System.Web.UI.Page ObjUIPage = new System.Web.UI.Page();
int i = 0;
int j;
System.IO.DirectoryInfo DirInfo = new System.IO.DirectoryInfo(ObjUIPage.Server.MapPath("") + "\\images");
System.IO.FileInfo[] files = DirInfo.GetFiles();
j = files.Length;
AjaxControlToolkit.Slide[] mySlides = new AjaxControlToolkit.Slide[j + 1];
foreach (System.IO.FileInfo di in files)
{
mySlides[i] = new AjaxControlToolkit.Slide(di.FullName, di.Name, di.Name.Substring(0, di.Name.IndexOf(".")));
i = i + 1;
}
return mySlides;
}
**************************
and this is ajax slideshow tag what i wrote is
<cc1:slideshowextender id="SlideShowExtender1" runat="server"
="" targetcontrolid="Image1" slideshowservicemethod="GetSlides" nextbuttonid="nextButton" playbuttontext="Play" stopbuttontext="Stop" previousbuttonid="prevButton" playbuttonid="playButton">
can anybody help on this.
Regards
siva
|
|
|
|
|
Hi i have one genral doubt in .net...,
If any have idea abt that plz share with me,
I like to secure my page from the enduser...,
i dont like to allow enduser to save my form design on his desktop & same time i dont like to see them my viewsource also...,
Its possible?,
I dont the question on here is correct or not...,
But i like to know thsi info,
Plz help me,
Thanks & Regards,
Mageshh,
please don't forget to vote on the post
|
|
|
|
|
HMagesh wrote: dont like to allow enduser to save my form design on his desktop & same time i dont like to see them my viewsource also...,
Its possible?,
If you don't want the end-user to save the HTML design and If you don't want the end-user to see the HTML source then deny the access to your site.
simple, Modify the authorization section in the web.config file
<-authorization>
<-deny users="*" />
<-/authorization>
- Regards - JON Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
|
|
|
|
|
Hi John,
Thanks for ur reply,
If i give deny users="*"
It wont allow enduser to visit also that page...,
Actually i feel i didnt say my quest proper format...,
see,The end user can visit my site...,
But if he try to save the webpage on his system,it won't allow and if he left click the page and try to see view source it wont show the design code that one i asked...,
Its possible?,
Thanks & Regards,
Mageshh,
please don't forget to vote on the post
|
|
|
|
|
You can't take full control over disabling the options in the client-side browser for security reasons. I don't think it's possible to disable the "Save AS" option in the browser. More over once the HTML is rendered to the client, the page is available on the client. User's are smart enough to find the cached page in the history and open it in a notepad and veiw the contents. Even if you disable client-side caching still there are ways to view the HTML source of the current page. Because the HTML page is physically present there.
- Regards - JON Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
|
|
|
|
|
how i can find the scroll positions of a panel when we move with mouse
|
|
|
|
|
use following java script to retrive the scroll postion of any HTML element
alert(document.getElementbyId("divName").scrollTop) or scrollLeft
Manikandan.net
[Coding is life]
|
|
|
|
|
hi all...I need help in crystal reports plzz....
I have to display a column from database horizontally and another column from database vertically....in the form of a chart...and in between the values selected have to be added n displayed...it seems 2 me very complex can somebody plz help me out...il be really obliged....
thanx in advance...
Tanya...(urs_forever_tanya@yahoo.co.in)
|
|
|
|
|
tanya2001 wrote: ...it seems 2 me very complex can somebody plz help me out...il be really obliged....
Use Crystal Report Chart Control. Without it, it's not possible to display the data in Crystal Report in such a manner.
- Regards - JON Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
|
|
|
|
|
where can i find crystal reports chart control..m all new 2 this so can u plz explain me
Tanya...(urs_forever_tanya@yahoo.co.in)
|
|
|
|
|
Once you add the data source to your report, it will the enable the Crystal Report tool bar. In the tool bar click on the "Insert Chart" Icon. try to Google the Google for some info which will help you more than what anyone can do on a online disscusion.
- Regards - JON Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
|
|
|
|
|
thanx a heap i got the chat but unable get values into it...its jst showing bars...if u can gimme ur email address il show d diagram format of what i want 2 display n what i have...can i plzzz?
Tanya...(urs_forever_tanya@yahoo.co.in)
|
|
|
|
|
It sounds like your initial problem is not with the crystal reports, but more that you don't know how to form the query to return the results.
It sounds like you are trying to PIVOT your table data - if you are using SQL 2005, then i'd recommend looking up the PIVOT command to see how this works.
Once you have your dataset (and presuming you have some idea how to use crystal reports), creating the chart shouldn't be too much trouble.
|
|
|
|
|
m using sql server 2000....n m all new 2 crystal reports n i hve been assigned this project...i rely dunno wat 2 do..
Tanya...(urs_forever_tanya@yahoo.co.in)
|
|
|
|
|
Have a google for some crystal report tutorials would probably be a good first move. It's hard to help you here if you can't help yourself a little bit...
|
|
|
|
|
Hello all,
I have developed a web application in ASP.Net using C# with login credentials.
I am getting following problem with it.....
I am logging in as user "abc" from one computer in network, its working fine. At the same time, i m logging in as different user say "xyz" on other computer. After this, when i refreshes my "abc" user's page it shows all contents of "xyz" user and hence automatically expires session of "abc".
I am not getting where the actual problem is, please anyone of u can help me with this?
Pravin
|
|
|
|
|
pavya_Cool wrote: when i refreshes my "abc" user's page it shows all contents of "xyz" user and hence automatically expires session of "abc".
Are you using Application variable to store the user details? And what is the authentication mode here?
- Regards - JON Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
|
|
|
|
|
Hi I am using session variable here...and authentication mode is forms.
Pravin
|
|
|
|
|
Can you post an example of the code you are using to store the details of the current user?
|
|
|
|
|
private void BtnGo_Click(object sender, System.EventArgs e)
{
Label1.Visible=false;
bool persistcookie=true;
if(ValidateUser(TextBox1.Text,TextBox2.Text))
{
//string globalstrConn="Provider=SQLOLEDB;Data Source=localhost;Initial Catalog=iMedia;Integrated Security=SSPI;";
Session["UserName"]=TextBox1.Text;
//This will store the username of the user in this session variable
// We can retrieve this username on different pages by using following code.
// string str=Convert.ToString(Session["UserName"]);
FormsAuthenticationTicket tkt;
string cookiestr;
HttpCookie ck;
tkt=new FormsAuthenticationTicket(1,TextBox1.Text,System.DateTime.Now,System.DateTime.Now.AddMinutes(Convert.ToInt32(ConfigurationSettings.AppSettings["timeout"])),persistcookie,"Your Custom Date");
cookiestr=FormsAuthentication.Encrypt(tkt);
ck=new HttpCookie(FormsAuthentication.FormsCookieName,cookiestr);
if(persistcookie)
ck.Expires =tkt.Expiration;
ck.Path =FormsAuthentication.FormsCookiePath;
Response.Cookies.Add(ck);
string strredirect;
strredirect=Request["ReturnUrl"];
if(strredirect==null)
strredirect="login.aspx";
Response.Redirect(ConfigurationSettings.AppSettings["defaultpage"],true);
}
else
{
Label1.Text="Invalid Credentials!";
Label1.Visible=true;
// Response.Redirect("login.aspx",true);
}
}
Please someone help me.
Pravin
|
|
|
|
|
|
i am not getting responce there.... thats why i posted here ... do u have any problem????
Pravin
|
|
|
|