Hi Techies, Any body has worked in setting the expiry date ot the images that u use in the asp.net pages? please give me some suggestions Senthil Loving Code, R. Senthil Kumaran
R Senthil Kumaran
Posts
-
Set Expiry date to images -
chies,Set Expiry date to imagesHi te Loving Code, R. Senthil Kumaran
-
Cookie Problem urgentHi Techies, I have a probem with cookie Say I have two files a.aspx b.aspx b.aspx is having the functionality of reading cookie and updating things in Database and b.aspx is never fired directy it is fired by calling them from a.aspx thru script tag like </html> when b.aspx is called directly its reading cookie, where as it called thru this script from a.aspx the cookie is not reading and updation of database all are fine only the cookie reading is problem. please get me any solutions have any one faced this sort of issue?? my mail id senthilkumaranz@rediffmail.com Loving Code, R. Senthil Kumaran</x-turndown>
-
How to create member functionsThanks!! Got a bit cleared Loving Code, R. Senthil Kumaran
-
How to create member functionsHi Javier, What my question is I used a webservice which is used to send sms accross india http://www.webservicex.net/SendSMS.asmx?op=SendSMSToIndia[^] and tried to create my own app for the same!! there i got raised with this question, when u r trying to send an SMS using a webmethod... SendSMSToIndia for retriving it's result the code is some thing like this lblStatus.Text= objSend.SendSMSToIndia(txtMobileNumber.Text,txtEmail.Text,txtMessage.Text).Status; here i found .Status is comming after the webmethod SendSMSToIndia and its parameters. so i am curious to know how to code like this!! That what i mean objCls.Method1.Method() did u got me Please let me know how to do this am online in Yahoo IM senthilkumaranz@yahoo.com Loving Code, R. Senthil Kumaran
-
Datagrid Paging Button CountOhh yes!! its correct u need to write that inside the Postback! and i have a question to u why do u need the dataset in session Never try to load a dataset or a datatable in session it seems urs is a report so it may have more data. more and more data in session makes load to your server which results in a performance issue and i dont think it i srequired also in this scenario!! consider this!!:) Loving Code, R. Senthil Kumaran
-
How to create member functionsHi All, how ot create a method some thing like this u have a class cls1 and i creaate a object and i need to see the method like this objCls1.Method1.Method() like this how to do ?? Loving Code, R. Senthil Kumaran
-
Datagrid Paging Button CountYes ofcourse u need to decrement it too.. and the initial declaration of the viewstate u can have inside postback of the page load !! do reply me the result! Loving Code, R. Senthil Kumaran
-
ASP.NET and Smart messagingThis is Webservice which allows u to send sms acroos india (My country) same as there is one more which send to other countries also sorry i missed the URL u can add refernce to this webservice and keep going :D http://www.webservicex.net/SendSMS.asmx?op=SendSMSToIndia Loving Code, R. Senthil Kumaran
-
Datagrid Paging Button CountHi, Try Declare a viewstate and have it as 0 initially and when the 10 button is clicked increment it by 10, 20 ,30 so as..... in Page index change this is in Page index change! Me.dgrdReport.CurrentPageIndex = e.NewPageIndex + (int)viewstate("Paging") Me.dgrdReport.DataBind() actually this wont happen it automatically works i dont know the reason but try this! Loving Code, R. Senthil Kumaran
-
Where to save user name for entire sessionyeah thats fine have a method in ur BU layer which checks fof the exsistance of the authcookie and if it is there from there query your databse and take the db id and put in the session call this method in the pages that requires authentication note: have this in the intializecomponent method of the page!! and not in pageload!! i will try is ther any other option on your question and let u know!! Loving Code, R. Senthil Kumaran
-
Help NeededI think problem is towards the NTFS as u r not using the NTFS file system the security tab wont come!! and I dont think u can run asp.net application with out NTFS file system Loving Code, R. Senthil Kumaran
-
Where to save user name for entire sessionThat u can do before authenticating the user if the user is authenticated u will be redirecting him to the next page so, b4 redirecting just put the db ID in the sesssion and have it redirected... This is the best Solution that most of the devlpr will do... Loving Code, R. Senthil Kumaran
-
Where to save user name for entire sessionactually its not required to save the username in the forms authentication coz the user.Identity will tell u the username from the formsauthentication class so need not save it!! persistant cookie is when the page is getting loaded u need to check for the cookie name that was created by the Forms authentication and from that cast it to sting and check it then authenticate the user for the page!!:) Loving Code, R. Senthil Kumaran
-
datagrid uses without databind? (am i nuts?)i hope u can bind an array list directly to the datagrid not sure because arraylist implements the ienumerable and ilistsouorce hence i think u can else createa datatable and fill the data from the array list by looping it to the datatable this you can do and this will work!! try! Loving Code, R. Senthil Kumaran
-
Disabling asp:button after submitted or pressedhave a viewstate variable for the postback!! that is have a viewstate inside the if(!isPostBack) and have it false then if the button is pressed then make it as true and if the viewstate value is true then disable it! i hope this may work!! not tried!!;):) Loving Code, R. Senthil Kumaran
-
Including asp.net pages i another asp.net pageu can use usercontrols .ascx and have a table in the aspx then drag and drop the user control. u can use this for all sort of controls that is menu, header, footer.......:rose:;) Loving Code, R. Senthil Kumaran
-
e.item.FindControl of columntemplate not working...fine!!;):rose: Loving Code, R. Senthil Kumaran
-
e.item.FindControl of columntemplate not working...see u r getting the name from constructor but not assigning to the textbox lc hence its giving error assign the colname to the id of the textbox lc this will work!! Loving Code, R. Senthil Kumaran
-
Accessing a file stored in the DB folderHi, Its not like only in the db folder u can upload images u can do that at any folder untill its impersonated!! u can use the Request.PhysicallapplicationPath this will return u the pyhsical application path (note: application folder path not page folder path) say u r having your pictures running in c:\senthil\Mywebapp\picture\ the physicalapplicationpath will give u c:\senthil\Mywebapp\ this as out put from here you can map and go to the Picture Path so use as " width="150"> I hope this will solve your problem!!:rose: Loving Code, R. Senthil Kumaran