I've built a web site with a big banner ... every time I change, post back or update the page the banner keep several second to show...
is there any way to cache it and read the cache to see it istantanealy ?
View Complete Post
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'm using Visual Web Developer 2010 Express.
I've published the application however when I view the login page the banner is not displayed I just get the red x.. It's fine in pages in other folders but not the Login page which sits in the Account folder however I'm getting the menu so it seems to be picking up the master page.
I've added the image to the Account folder but it just wont show, any ideas?
<%@ Page Title="Log In" Language="vb" MasterPageFile="~/Site.Master" AutoEventWireup="false" CodeBehind="Login.aspx.vb" Inherits="PODPortal.Login" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent"></asp:Content><asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent"> <h2> Log In </h2> <p> <asp:HyperLink ID="RegisterHyperLink" runat="server" Visible="false" Enab
I am developing one website and made below mentioned configuration for enabling caching for Anonymous User.
1) Created a cached profile and enable caching, set cachebility as ServerAndPublic and kept duration of 180 seconds
2) Applied this cache profile to "site output cache ->Anonymous Cache Profile -> Select a page output cache profile"
Due to the above configuration pages in my site are getting cached for 180 seconds.
Now i am having one webpart on home page but each time i hit the page it gives me cache results in that webpart and do not postback to server and bring new results
I want to have server trip for that webpart compulsory as there are certain business conditions applied and if it will not postback those condition will not apply and webpart will not function properly or render properly according to condition.
Can anybody give me solution for this so that page/webpart postback and the serverside code executes.
Thanks & Regards
I want to re design a web site. so that i found a layout but it was a premium ones..
how ever i extracted the swf file.. but cant edit that
I need to edit that navigation..menu bar contents.. how to do that?
also i shud keep my images in image slider there...
I do have problem with my SharePoint theme. I have actually create new theme by customized a theme from the default theme in SharePoint. I have replace with new banner and do some changes in the coding site.
After i have applied the theme to my portal, i face problem when i try to logged in using a username from Read Only group, it will appear the windows security login for 3 times before the portal can be access, unfortunately the banner are still not visible.
Sometimes, its appear, sometime it didn't.
However, when i logged in user System Account, i have no problem accessing the page without windows security login appear and the banner are there.
What am i missing, please do let me know. Thank you.
I have the following MaterPage. Unfortuantely, the ContentPlaceHolder overlaps the banner. The last table which is the footer is behaving the way it should (absolutely fixed at the bootom).
What am I doing wrong with this? Or have I done it all incorrectly? Why does the ContentPlaceHolder overlap the banner?
I basically need a banner page that is absolute at the top and 100% width and directly beneath that I need the ContentPlaceHolder at a width of 100%.
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MyCompanyMaster.master.cs" Inherits="MyCompanyMaster" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title> <asp:ContentPlaceHolder id="head" runat="server"> </asp:ContentPlaceHolder> <style type="text/css"> .style1 &n
I have a datagridview control that I'm using to display cache data to the
end used on a web form. The issue that I'm having is that every time I re-run
the application, and the cache data is re-generated... it loads duplicate data
that's being displayed to the end user. I can't seem to figure out how to keep
this from happening.
What I would like to have happen is that only unique data rows be returned
and cached for the end user. Unless there are new data rows on the database
that needs to be included in the cache data results...the previous data results
should not be duplicated. I've tried to change a few properties on the
datagridview control, but nothing seem to keep this from happening. I have included
a copy of my code below. Any help would be greatly appreciated.
' Code that is used to cache data that's returned from database
Protected Sub PopulateNewhardwareSetInfo()
Dim conn As SqlConnection = New
Dim cmd As SqlCommand = New SqlCommand("Select * from
Dim sqlDA As SqlDataAdapter = New
Hi I want to Display a custom banner which fills the entire top of the banner section, but still lets all the other graphics display, and ribbon. Can any one lwt me know how to do...
Thanks in advance