View Complete Post
I have an HTML <div> container that I float to the right of a gridview. When the browser window is maximized, it looks fine. When minimized, the gridview positions below the floating container and most of the data is pushed off the bottom of the browser - you have to scroll down to see it.
If I position the floating container above the gridview it looks fine in a minimized window, but looks real bad when maximized.
I can capture the onresize event and display the window dimensions but haven't figured-out how to do it with a Content page that still uses the Master page. I think I'm having a very "thick" week...
I want to create object in 1.aspx, and then send it to 2.aspx. This methods are bad, because:
1)Send object with url, like this:
This is not confidential.
Session["field1"] = "12345"; // set
Object foo = Session["field1"]; // get
I was struggling for the process/code to convert html to image. Please suggest any tutorials for this. And also any code help greatly appreciated.
thanks and regards,
I am using a text box which captures the date from the datepicker and displays in dd/MM/yyyy format in asp.net using C#
When i try to pass this text box value into the DatTime variable i am getting the error as
"String was not recognized as a valid DateTime. "
my code goes like this
i tried to use Conver.ToDateTime() function but the same error is croping up..
Can any one plz suggest me on this.....Thnks in advance
now i hav stored all data like user name, data fatched from database of that user
and i stored that data and user name such as:
string strUserName="user name"
dataset ds =new dataset();// data of that user
now i wan yo send d whole data from my login page to user profile page
can anybody help me for that...................
and plz tell me that how much is this way is benifitial to send data from one page to another page
plz........kindly waiting for positive rply
I'm developing a web-site, that uses SWFUpload for
multiple files upload to the server. Page, that uploades files, is
accessable only to registered user. Authentication is done via
web-forms (authentication mode="Forms" in Web.config). Flash uploades
files to special web page - upload.aspx. In IE everything works great,
but Flash player in non-IE browser (in Firefox, for example) does not
send any cookies to upload.aspx. Because of it no sesion and no
authentication information is available in this page.
I can pass
all the information, necessary for uploading, in GET-parameters, which
upload.aspx recieve. But this is a serious security hole and I don't
want to expose session information. I can pass session identifier in
GET-request. But the question is the following: how can I restore
session information from the session identifier? How can I make
HttpContext.Current.User point to currently logged in user in this case?
I added a table to a page, by default, the table layout is the light border. So, I add my content and the vertical align seems to set to the top. But when I changed it to clear border, the content of the table will set vertical align to center. Is there
a way to change this back to top align but with the clear border. I don't think I can do this by what is available in the ribbon. Please advice.
I want to send html emails with one promo-banner inside. Have a look at my code... I try but with no success.
Dim strFrom, strTo, strSubject, strBody As String
Dim myMessage As MailMessage
Dim mySmtpClient As SmtpClient
strFrom = "SENDER<firstname.lastname@example.org>"
strTo = Session("eemaill")
strSubject = "HELLO THERE!"
strBody = "HELLO THIS IS MY MSG<br />" + _
myMessage = New MailMessage(strFrom, strTo, strSubject, strBody)
myMessage.IsBodyHtml = True
mySmtpClient = New SmtpClient("mail.example.com")
I have a dynamic accordion on a page. Set its datasource to an
object of paged data source.The user control is in the accordions
content template. When i was writing code the properties were showing
but after giving the values of databases as
but the values shows null, these properties are shown as textboxes text property by user control.
MoreOver when I checked the values of database Items.So i made a textbox instead of usercontrol here as
<asp:TextBox ID="txtTest" runat="server"
It is showing the correct value. And if i pass the value directly it is also showing correctly like
<uc:UserControl1 runat="server" Property1="XYZ")%>' Property2="ABC")%>' ></uc:UserControl1>
. where I am wrong
the problem is eval is not passing the value to usercont
The statement is correct:
<asp:HyperLink ID="HyperLink2" runat="server" Text
can anyone provide me a sample code who have used iTextsharp(chapter 0707) to convert HTML to PDF.... Please help.... urgent...!!!