|
pls how do i prevent the page from seting focust to top each time a combo is selected?
thank you.
modified on Monday, May 17, 2010 10:41 AM
|
|
|
|
|
|
This will only happen if you have AutoPostBack = true in your combo box, You can either disable it, or if it is required then use the 'Update Panel' and put the combobox inside the panel so that it will do the partial post back and you will have the same scroll bar position even after the post back.
|
|
|
|
|
I ran into this issue yesterday and was able to stop it with this javascript snippet - you dont' call it anywhere, just post it on page like a normal js function:
<br />
window.scrollTo = function( x,y ) <br />
{<br />
return true;<br />
}<br />
Hope this helps.
|
|
|
|
|
I have a scalar valued function named dbo.getname()
When i am writing the following query in the code behind..,
(Text visualizer)
-----------------
SELECT DISTINCT convert(varchar,TRequisition.Date,103) AS Date,
TRequisition.RequisitionID AS ReqNo, TPatient.Name AS Patient,
TRefund.RefundValue, TRefund.Reason AS RefundReason,(dbo.getname(TRequisition.UserID))
AS Operator FROM TRequisition INNER JOIN TPatient ON
TRequisition.PatientID = TPatient.PatientID
INNER JOIN TRefund ON TRequisition.RequisitionID = TRefund.RequisitionID
AND TRequisition.RequisitionID BETWEEN @rangefrom AND @rangeto
order by TRequisition.RequisitionID.
i am getting the following exception:
Cannot find either column "dbo" or the user-defined function or aggregate "dbo.getname", or the name is ambiguous.
help me to solve this.
thanks.
|
|
|
|
|
This is not an ASP.NET question, it is database.
Have you made sure the function exists, is spelled correctly, the correct case, and exists in the dbo schema?
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
You need to first try simple query for checking
whether the function getname() exists under dbo or not.
select dbo.getname(12);
If this query fails then the function getname()
does not exists under dbo namespace. It might
exists under db_owner or some another namespace.
Just traverse to that function in sql server
management studio and you will get the exact namespace
of that function.
And please post database related queries in "General Database" section.
Hope this will help!
Jinal Desai - LIVE
Experience is mother of sage....
|
|
|
|
|
ya i figured out the problem.. i posted in a hurry.. anyways this will not repeat again
thanku
|
|
|
|
|
Never mind buddy...
Jinal Desai - LIVE
Experience is mother of sage....
|
|
|
|
|
During ASP.NET web application development it is possible to view either .aspx text file or the page layout as it is in browser or both at the same time editing in text and immediatly viewing the changes.
Something happen to my VS2008. There is no additional bar at the bottom to choose which view to select.
Neither clicking from selected aspx page View->Designer menu item does not show anything.
Also colorization of the raw text aspx page items disappeared.
As though 2008 version reverted back to 2005.
How to recover that and what might be the problem?
Чесноков
|
|
|
|
|
Hello,
If you've installed any plugins that you suspect made any kind of impact, either disable them or uninstall them.
Open a VS 2008 command prompt and type this:
devenv.exe /resetsettings
Warning: this is like reverting to a fresh install, so you may lose some personalized settings (color scheme, etc).
I had a similar problem and this worked for me (designer was just blank, dual-view source/design crashed IDE).
Cheers,
-jc
|
|
|
|
|
I never installed any plugins.
I do not remeber when it happen, before that I had some components loading failure during startup and did not pay attention to that.
It was a while I developed ASP.NET app before. Recently I also installed Vista SP2 and latest updates.
Now there is no Design view and split view either.
I will try your reset settings
Чесноков
|
|
|
|
|
hi all,
i have development team contains 3 developer they are develope an asp.net web application , all of my team memebers face the follwoing error:
Compiler Error Message: CS0006: Metadata file
>> 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
>> files\mbccs\544aefc6\a95796a7\assembly\dl2\11dbf13d\35abbe2b _537bc501\[DLL
>> NAME HERE].dll' could not be found.
are there any one can help me to solve this error perminantly???
thanx alote
|
|
|
|
|
You have been around here long enough and have asked enough questions to know that cross-posting a question is not tolerated.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
zead wrote: 'c:\windows\microsoft.net\framework\v1.1.4322\temporary
It says .NET 1.1 ... did you checked which framework you developed and hosted?
|
|
|
|
|
hello to all ,
I want to apply the twitter features such as
*-twttr.anywhere()
*-twitter().hovercards()
*- twitter().tweetBox()
etc
on my HTML editor'content in asp.net 3.5
can any body help me?????????
|
|
|
|
|
Dear all,
when i logout from one page, it redirects to home page, when i press back button of browser, it show previous page. i want to show home page even anyone press back button. when back button is pressed why page load even can not raise????
Thanks in advance..........
|
|
|
|
|
Its better to have a check on pageload that if user is not in loggedin state then redirect to home page.
There is also another way to resolve your particular problem. Have a look to the link below
Click here
|
|
|
|
|
dear sir, page load event does not call at that moment. page comes from browser cache.
|
|
|
|
|
for that you need to remove the browser cache, when user clicks logout
Have a look
|
|
|
|
|
how to remove browser cache???
|
|
|
|
|
|
pls i have a dropdown list which gets data from my database,
i want it to be filled only once when the page is loaded.
pls how do i archieve this.
thanks.
|
|
|
|
|
put the databinding in !ispostback
i.e.
if(!ispostback)
{
ddl.bind();
}
|
|
|
|
|
I have done so, i put the code snipet in the page load event,
it is giving me object refrence not set to an instance of an object,
pls what didi i do wrong
thank you.
|
|
|
|