|
The problem is that his page relies on code that's in the app_code folder at the root, which he's just cut off at the knees.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
thank u all
i fixed the problem by making the virtual directory type as a direct link
|
|
|
|
|
Hi i need based on current date it have to enable that week dates only...,
That also want to be enable upto current date only...,
It mean example foer this month week dates start and end like this :
1 to 7 , 8 to 14 , 15 to 21 , 22 to 28 and 29 to 5
Now the current date is 24 so it have to enable 22 to 24 dates only...,
Suppose the current date is 20 thne it have to enable only 15 to 20...,
Plz give me some solution for this...,
Here i can't add or minus dates...,
Based on current date have to enable only current week dates ?
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
The dateTime class has a DayOfWeek property
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
This is a repeat post
We are not a Code Charity
|
|
|
|
|
Ya thank u for ur reply sir,
Using day week u can select a particular week dates...,
But how to disable other dates?,
I need only the current date contained day week enable true...
Plz help me
I searched , but i didnt get
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
OK - when you said enable, I assume you meant to validate. Now I am guessing you're using some sort of date control, but you've not bothered to tell us about it. If you want to only allow certain dates in a date control, you need to explain that, and it depends on if the control you're using, allows that.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
Hi thank u for ur reply...,
My enduser have to enter his activitice in my page...,
He have only rights to enter particular week activitice...,
and same time he cant enter future activity so up to current date i have to be enable the date...,
And previously i said he can enter and modify current week activity only...,
so i need teh calendar control have to be enable current week dates...,
This is my issue...,
Now u plz tell me,
how i can check the week starting date based on current date?,
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
check this out, apply the logic and you might find this weeks date
http://forums.asp.net/p/1263002/2365683.aspx
We are not a Code Charity
|
|
|
|
|
New one wrote: how i can check the week starting date based on current date?,
Didn't we establish that the Datetime class has a dayofweek property in my first reply ?
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
hello friends
I want to display a please wait message
for this i have tried with the div tag
on the button( asp control) click i am making
waitscreen.Style.Add(HtmlTextWriterStyle.Display, "block");
and after completion of the codes
waitscreen.Style.Add(HtmlTextWriterStyle.Display, "none");
it is not working correctly .. please tell me how a please wait message is displayed normally and if there is any ajax control for it . then please tell me abt it
* my button is under a update pannel
Thanks and Regards
If You win You need not Explain............
But If You Loose You Should not be there to Explain......
|
|
|
|
|
U can go for update progress control
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
Thanks allot NEWONE
I have voted 5
If You win You need not Explain............
But If You Loose You Should not be there to Explain......
|
|
|
|
|
You're writing C# code. This code is running on the server. It's not going to show anything. I recommend doing some reading on ASP.NET. The short version - the client sees nothing until the page lifecycle ends.
Yes, you can do something if you show your div in javascript before making an AJAX call.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
Hi
I have the following code;
<asp:sessionparameter name="Id" sessionfield="ViewState['id']" type="String" xmlns:asp="#unknown" />
Is this the correct syntax to put a viewstate into a sessionfield because at the moment no information is showing
Sorry forgot to tick ignore html tags
We are not a Code Charity
|
|
|
|
|
Where is the code !!! ???
Thanks,
Arindam D Tewary
|
|
|
|
|
i want earn mode of 0 div 2. how can i do in c#?
|
|
|
|
|
Can you say that again in english please?
We are not a Code Charity
|
|
|
|
|
The % is the mod symbol.
31 % 2 == 1
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
The modulus operator in C# is the % symbol
int i = 5 % 2;
|
|
|
|
|
A transport-level error has occurred when sending the request to the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)
Never Think That You Have Failed Instead Always Think That u hav Better Chance Next Time...
|
|
|
|
|
The reason could be network problem or your Db server is down !!!!
Thanks,
Arindam D Tewary
|
|
|
|
|
Try typing the error message into google. you will find people who have had the same problem as you before
http://www.google.co.uk/search?hl=en&q=A+transport-level+error+has+occurred+when+sending+the+request+to+the+server.+&btnG=Google+Search&meta=
We are not a Code Charity
|
|
|
|
|
Hello Friends.
I m using a treeview in update panel with some triggers and proerties explicitly call and set.
here the problem is " The first click on any of the treeview nodes is not working instead from second click onwards its functioning properly.
If anyone has a solution to this or has faces the similar kind of problem the please help me out with some usefull explanation.
The code i used is as below.
<asp:UpdatePanel runat ="server" ID="upExplorer"
UpdateMode=conditional RenderMode=block
ChildrenAsTriggers =true
EnableViewState =true >
<ContentTemplate >
<asp:TreeView ID="trvExplorer" runat="server"
PopulateNodesFromClient =false
EnableClientScript =false
Width="100%"
OnTreeNodePopulate="PopulateNode"
ExpandDepth=1
Font-Names="Tahoma"
Font-Size="8pt"
Height="100%"
ForeColor="Black"
oncontextmenu="ShowContextMenu(0);">
<NodeStyle HorizontalPadding="4px" />
<SelectedNodeStyle BackColor="LightGray" />
</asp:TreeView>
</ContentTemplate>
<Triggers >
<%--<asp:AsyncPostBackTrigger ControlID ="trvExplorer" EventName ="SelectedNodeChanged" />
<asp:AsyncPostBackTrigger ControlID ="gvItems" EventName ="RowDataBound" />
<asp:AsyncPostBackTrigger ControlID ="gvDocument" EventName ="RowDataBound" />
--%>
</Triggers>
</asp:UpdatePanel>
Thanks in advance.
Regards
Hasan.
|
|
|
|
|
Can only suggest try putting it in If(!IsPostBack) or change the event to TreeNodeExpanded...?
"Sex is not the answer, it's the question and the answer is yes"
|
|
|
|