|
For this you have to customise lika below
Add a row above to calender control and add two dropdown in the that row one for month and another for year and on OnSelectedIndexChanged event of both set the calendar control Selected value like
int Year = Convert.ToInt32(ddlCalYear.SelectedItem.Text);
int Month = ddlCalMonth.SelectedIndex + 1;
myCalendar.VisibleDate = new DateTime(Year, Month, 1);
Cheers!!
Brij
|
|
|
|
|
Hy thanks for replyng to my question...but can i add the list inside calender.. there is a control inside the calender (NEXT CONTROL)which shows next month..can i add droplist in place of that control.
regards
|
|
|
|
|
This is Arun,
We have shifted our WebApplication and DataBase From Old Server i.e(Both webApplication and DataBase in same server,windows 2005 server and Framework 2.0) to New Server i.e(webapplication in seperate server and Databse in seperate server,windows 2008 server and Framework 3.0).
The problem our clients facing is machine key issues ,after shifting from old server to new server,, and webapplication has been developed using framework 2.0. How to resolve this problem.
ArunVijay
|
|
|
|
|
Arun please post the error you are getting and line at which you are getting that error. enable debugging options so that you could get the source of error
Ahsan Ullah
Senior Software Engineer
MCTS 2.0
|
|
|
|
|
Hi Ahsan
Thanks for reply,
The Error is validation of ViewState MAC failed. if this application is hosted by a web farm or cluster , ensure that <machinekey> configuration specifies the same validtaion and validation algorithm.Auto genarate cannot be used in a cluster.
ArunVijay
|
|
|
|
|
hi....
how can i access a particular data from one website to another using RSS.
does any one have experience in this process.
thanks in advance..
|
|
|
|
|
You need RSS reader for this purpose. It is very simple. Search google or this site and you will fine many Rss readers.
I recommend this[^]
Ahsan Ullah
Senior Software Engineer
MCTS 2.0
|
|
|
|
|
Hi. I am designing website consist master page and contentpages.
i have save, delete, clear buttons on masterpage. i want to write code to fire event when i click those buttons from content page. how to fire masterpage events from content page.(Using C#.NET)
|
|
|
|
|
Don't duplicate the questions
Cheers!!
Brij
|
|
|
|
|
Hi. I am designing website consist master page and contentpages.
i have save, delete, clear buttons on masterpage. i want to write code to fire event when i click those buttons from content page. how to fire masterpage events from content page.(Using C#.NET)
|
|
|
|
|
|
Hi,
I have written several web pages, all containing only one grid. Each page loads data from a different table in DB.
Now I would like to put it all together in the following way. have a master page with a navigation bar. each item in the navbar will point to a different table. all the different grids will now be different content pages.
The question is: how can I do it in a way that when clicking on different navbar items, only the grid will be seen to be refreshed,
not the whole page?
I am sure there must be a way to do it...
thanks ,
Yasfried
|
|
|
|
|
Just add one iframe in your webpage.And while clicking just set the src for the iframe from script as the target webPage.
|
|
|
|
|
Thanks ArunJ!
But unfortunately we have decided not to use iframes...so we need a solution in the context of master/content pages.
any ideas?
Yasfried
|
|
|
|
|
hey..
Any body can tell me how to access/take a particular data from one website to another.
|
|
|
|
|
A website could have different sessions running etc. You could store the info in a database that both websites are using and then get it from there.
|
|
|
|
|
if there is no seesion and there is different data on the single page and i want only a particular data ???
|
|
|
|
|
r u using the centarlised database
|
|
|
|
|
|
Are both website on separate webserver?
Cheers!!
Brij
|
|
|
|
|
yes they r on different webserver...
|
|
|
|
|
Or pass data through addressbar as querystring.
|
|
|
|
|
Hi all,
public void ftpfile(string inputfilepath)
{
//here correct hostname or IP of the ftp server to be given
string ftpfullpath = "ftppath";
FtpWebRequest ftp = (FtpWebRequest)FtpWebRequest.Create(ftpfullpath);
ftp.Credentials = new NetworkCredential("uid", "pwd");
//userid and password for the ftp server to given
ftp.KeepAlive = true ;
ftp.UseBinary = true;
ftp.Method = WebRequestMethods.Ftp.UploadFile;
FileStream fs = File.OpenRead(inputfilepath);
byte[] buffer = new byte[fs.Length];
fs.Read(buffer, 0, buffer.Length);
fs.Close();
Stream ftpstream = ftp.GetRequestStream();
ftpstream.Write(buffer, 0, buffer.Length);
ftpstream.Close();
} this is the function im using for ftp uplod and im getting an error
The underlying connection was closed: An unexpected error occurred on a receive
i have set my web.config as
<httpRuntime maxRequestLength="1048576" executionTimeout="3600"/>
What will be problem with this
Help me plz,
Thanks In Advance
|
|
|
|
|
What is the line at which you are getting error?
Ahsan Ullah
Senior Software Engineer
MCTS 2.0
|
|
|
|
|