|
Leandrão wrote: . I'm thinking to myself that this error is in IIS!!
Unlikely. While it must be tempting for you to think that your code is better than Microsoft's, it's probably pretty unlikely. I would suspect that your problem has more to do with you using the wrong SessionState type or just assigning it in the wrong place.
|
|
|
|
|
Hi Pete,
I've already discovered the error.
The error was caused because name resolution in domain.
My code was correct and IIS too, but the network's configuration was wrong.
Thanks my friend!!!
|
|
|
|
|
Hello all,
I'm designing menu for onlineshopping site.
i want to design a menu that open right to left not left to right.
how do i can design menu that it's submenus flow right to left?
my menu is on the right of my web page.
Thank you,
Hoda
modified on Thursday, April 3, 2008 9:02 AM
|
|
|
|
|
There is a really cool website on the internet called Google, awh forget it just click on this: menu+right+to+left[^]
|
|
|
|
|
Hi all,
I need help,I am entering datetime in dd-mm-yyyy format by TextBox1.Text but i need only "mm" is to enter and retrive from sqlserver database.
How it possible?
In Vb.net month(colname)='"&month(TextBopx1.Text)"'
dhanu
|
|
|
|
|
You could try and seperate the date format out by using split function, not sure though
|
|
|
|
|
The text property of your textbox is a string type. You cannot get the month only from a string using a month() function. You can split the string on the '-' character and the retrieve the month from the string array..
<br />
Dim sDateParts as String() = TextBox1.Text.Split('-')<br />
Dim sMonth as String = String.Empty<br />
<br />
if (sDateParts.Length = 3)<br />
sMonth = sDateParts(1)<br />
|
|
|
|
|
You could always use DateTime.Parse(TextBox1.Text).Month; . I know it's C#, but you can translate this to VB.NET yourself - it's not that hard.
|
|
|
|
|
Hi,
Sir,
1)When pass javascript function in my server side custom control
then he give me error 'Object Expected' but my function
already exits in my javascript file. ?
2)When pass javascript function in my server side custom control
then he give me error 'Undefied' but my textbox or control alrady
already exits in my javascript file. ?
Please send solution
Thanks & Regards
lav naphade
lav naphade
|
|
|
|
|
can you post your code please
|
|
|
|
|
have u just checked the HTML code(after execution) of the page where you've put that control?
check that the names are same as the name used to get control by javascript....
if possible then provide code..
Ashish Sehajpal
|
|
|
|
|
Make sure any syntax errors on your javascript function and double check the control client Id's in view source.
smile
|
|
|
|
|
Hii Everybody
See I have 10 pages in report,the total is calculated on end of each page and grand total is calculated on end page.
Now i want with grand total it also show Total of all previous pages like on end page means 10th page ,it shows
Total of 1st Page -- 100
Total of 2nd Page -- 120
Total of 3rd Page -- 50
Total of 4th Page -- 40
|
|
Total of 10th Page--60
----------------------------------
Grand Total ----- 370
--------------------------------------
Hope u understand my problem.Please send me solution as early as possible.
Waiting 4 ur reply
Manpreet Sadana
|
|
|
|
|
Hi Guys... Hope your all well...
Quick question... I have the following database:
Level PageID Title top_Id parent_id
1 1 test1 4 0
2 2 test2 4 1
2 3 test3 4 1
2 4 test4 4 1
3 5 sub2 4 2
3 6 sub3 4 2
3 7 sub3 4 2
Basically it prints out like this:
Level 1 : Jobs
Level 2 : Fianance
Level 2 : Exec
Level 2 : IT and Services
Level 2 : Wages
Level 2 : Test page2
Level 3 : Finance1
Level 3 : Child Page 1
Level 3 : IT 1
Level 3 : wages 1
Level 3 : tester 1
Level 3 : tester
Level 3 : wages 2
Level 3 : IT 2
Level 3 : Child Page 2
Level 3 : Finance2
What i want to be able to do is show all level 3 pages underneath level 2... A bit like a menu structure would work. I have played around and tried different things, but i am losing. any help would be very much welcomed or pointers to some tutorials would be great. Many thanks.
I have wrote the following code (ASP.Net VB) to get the basis of what i want to do:
-----------------------------------------------------------------
Do While (dr.Read())
Select Case dr("level")
Case "1"
s = s & "Level 1 : " & dr("p_title") & ""
Case "2"
s = s & " Level 2 : " & dr("p_title") & ""
Case "3"
s = s & " Level 3 : " & dr("p_title") & ""
End Select
Loop
------------------------------------------------------------------------------
|
|
|
|
|
let me know the best Javascript debugging software tool? help me guys...
Gopinath.R
|
|
|
|
|
let me know the best Javascript debugging software tool? help me guys...
Gopinath.R
|
|
|
|
|
u can use firebug for mozila browser.
rahul
|
|
|
|
|
I want to configure the .net 2005 projects in live server. How to implement this. In .net 2003 we have to create virtual directory (IIS Configuation). How can we configure.
Any body help...
|
|
|
|
|
hi friends
i am using datagrid with in datalist.
and want to get status column value into inner datagrid .so how to get that
.
Rajeev Kr. Sharma
VRI Software Pvt.Ltd.
New Delhi India
HumOnline.com
Stay Connected
|
|
|
|
|
I guess DataList has a FindControl() method. Isn't it ?
|
|
|
|
|
OnItemCommand event of your parent control use FindControl()
method to find child control..
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
For the current project I'm doing, I have to execute JavaScript from an ASP.NET Page, using C#...
Now, So far, the closest I've found is something like:
<br />
<input type="button" name="Button1" value="Button"><br />
id="Button1" onclick="doAlert()" /><br />
<br />
<br />
<script><br />
function doAlert()<br />
{<br />
alert("Message Here!");<br />
}<br />
</script><br />
</input>
Which I REALLY don't like, as I have to create a custom button...
What I want to know is if it's possible to do JavaScript on the OnClick event of a Button on the Code Behind (.cs) page, so it isn't easily viewable in the Source, and is also easier to work with?
Something Like...
<br />
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)<br />
{<br />
DoJavaScript("alert:('Message Here!');");<br />
}<br />
Any assistance would be greatly appreciated
Thanks!
- Michael
|
|
|
|
|
You have a custom button control and you want to register the javascript form server side Is that you want
Then just register your javascript in cutom control only
in PreRender or Render events
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
You can emit javascript to the page using Page.ClientScript.RegisterClientScript() method. But this will be shown in the page source, it's not possible to hide it. Or you may try embedded web resources.
|
|
|
|
|
Hi,
We have developed website using ASP.NET,C#. But they are runtime errors and we got yellow pages.
So How do we catch Runtime errors and Log them?
please advice.
|
|
|
|