|
Sorry, that's not a coherent sentence. What are you caching ? Where are you caching it ? What happens when you push a button ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
|
Is there a question to go along with this blank post?
|
|
|
|
|
hello, there,
I want to trigger a server side button click from client side javascript code. I searched the Internet, but I could not find a solution.
I learned it seems I need to call _postback function. But I could not find more details.
function Button2_onclick() {
__doPostBack('<%=Button1.UniqueID%>', 'onclick');
}
I put this in the client side code. but I got server side errors.
Please let me know that how to solve this problem.
Thank you very much in advance.
|
|
|
|
|
hi,
http://www.xefteri.com/articles/show.cfm?id=18
this article is a simple one. follow this
Thomas
|
|
|
|
|
It is really a good article and it is very easy.
Thank you so much.
|
|
|
|
|
How we romove .cs files durinng creating Web Setup Project.
Any Idea please ?
Know Yourself Then Grow Yourself.
|
|
|
|
|
While adding the mandatory files dont add source files
Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
sylvester_g_m@yahoo.com
|
|
|
|
|
But Dialog "Add Project Output Group" shows only contents files.
And if remove using filter then after installing aspx page gives error about cs file.
Know Yourself Then Grow Yourself.
|
|
|
|
|
In Add project output group,
Make sure that the webproject is selected on the combobox
Then Select Primary output, localized resources and content files by pressing the combination CTRL key + Mouse's left button.
Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
sylvester_g_m@yahoo.com
|
|
|
|
|
HI guys,
i have added the following code snippet in the web.config to authenticate the users.
<code> <authentication mode="Forms">
<forms name="SampleAuth"
loginUrl="Login.aspx" >
</forms>
</authentication></code>
but the problem is this,in form authentication mode can we have a page which can skip this authentication check. i.e. i would like to exempt one form from the authentication check. would you tell how i can make it possible.
thanks in advance.
sebastian
|
|
|
|
|
Have a look at the documentation of HttpContext.SkipAuthorization property.
- walter
|
|
|
|
|
|
Hi,
I m working on crystal report in asp.net 2005.
Page type is landscape of my report.
Problem i m facing is whatever i place at footer section,that data is shown correctly in report but when i take the print out then the footer information appear in new page.
I have already suppress all non required field.
Even if my data in report of two or three lines still the information on footer appear on next page.
I havent checked insert page before at footer but at Group Header1 i have set insert page before so that my report begin Group wise from new page.
Pls help me to find the solution
Thanks in advance....
Ajay
|
|
|
|
|
Try to remove extra spaces after the fileds.
Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
sylvester_g_m@yahoo.com
|
|
|
|
|
Sir,
i have already suppressed unused sections and also compressed all fields as much as they can be.
The problem occurs whn i change my report page setup to landscape while taking hte printout from printpreivew option.Then page footer section create show that information in new page.
I've set my crystal report printer setup to landscape while creating the report but while printing it from internet explorer i have to convert page setup to landscape again.If i show print without changing page setup to landscape then it shows footer information at the end of same page but when i change it to landscape then footer information move to next page.
Pls see the problem...
|
|
|
|
|
Hello, there,
I'd like to know how I can change the rowState in GridView.
I want to set every row to the edit state when open the gridview control.
I made changes to rowCreated function of the grid view to change every datarow to the Edit state. But the it is not working at all.
The following are the code.
If (e.Row.RowType = DataControlRowType.DataRow) Then
e.Row.RowState = DataControlRowState.Edit
End If
Will you please tell me what I should do to make it happen?
Thank you so much in advance.
|
|
|
|
|
Haven't tried this but if you want your gridview to be in the edit state by default, why not use use template columns and textboxes for your itemtemplates?
sounds like a silly hack but...
acodeisacodeisacode
|
|
|
|
|
Hi all! I'm not able to get connected to Sql server 2005 from ASP.net 2.0 application which is HTTP based. When I run the code I get these errors
Login failed for user 'NIT\ASPNET'. (where NIT is system name)<br />
<br />
'con.ServerVersion' threw an exception of type 'System.InvalidOperationException'<br />
<br />
This is my connection string.<br />
<add key="strCon" value="Data source=localhost;Initial catalog=Anything;uid=;pwd=;Integrated security =SSPI;"/>
I've tried everthing in book, Like Trusted_connection = true also but to no avail.Problem is my another application which is File based running on a random port number assigned by ASP.net runs smoothly. After googling I could not come with something worthwhile.
Pls help
Thanks in advance.
Don't Quit
|
|
|
|
|
Has the ASPNET account permitted to access your SQL Server? And it is set up as a user on the database you want to use?
|
|
|
|
|
Hi Colin! Thanks for reply.
As I told you another asp.net application can access the sql server.
Colin Angus Mackay wrote: Has the ASPNET account permitted to access your SQL Server? And it is set up as a user on the database you want to use?
How to give permission to ASPnet account I dont know Pls tell me.
Thanks in advance.
Don't Quit
|
|
|
|
|
hi colin!
I've done this through
sp_grantlogin 'NIT\ASPNET'
grant insert on dbo.categories to [NIT\ASPNET]
but it created more questions than answers
1. serverversion is still there which can be seen while debugging ?
2. How to give persmission to this user for whole database in one go?
3. Earlier I've used insert queries in similar fashion but why it is asking for permission now.
Can you point me to a good link to find all the things I know about sql authentication and windows but all these things are somewhat new for me.
Thanks
Don't Quit
|
|
|
|
|
Nitin1981 wrote: 2. How to give persmission to this user for whole database in one go?
Add the user to the server role db_owner - it will then own the database and can do anything with it. NOTE: This is a security risk and should not be done on a live system.
There is another role, sysadmin, that gives a user access to all the databases on the server.
Nitin1981 wrote: 3. Earlier I've used insert queries in similar fashion but why it is asking for permission now.
There must be some difference between the previous connection and this one. SQL Server will not randomly deny access to things.
Nitin1981 wrote: Can you point me to a good link to find all the things I know about sql authentication and windows but all these things are somewhat new for me.
SQL Server Books On-Line - i.e. the Help file that comes with SQL server is the best resource.
|
|
|
|
|
Hi,
I have this problem with a gridview from which I am tryng to update a database table. I have this handler for my Row_Updating event:
Dim index As Integer = gvRecruit.EditIndex
Dim row As GridViewRow = gvRecruit.Rows(index)
Dim Id as Integer = Integer.Parse(row.Cells(0).Text)
Dim fName As TextBox = CType(row.FindControl("txtFirstName"), TextBox)
Dim firstName As String = fName.Text
Dim lName As TextBox = CType(row.Cells(1).Controls(1), TextBox)
Dim lastName As String = lName.Text
etc...
Problem is, when I step thru the code, the fName and lName still hold the old values, even though I have updated them with new ones.
I think I am missing something. Can anybody help?
PS
I don't really do VB, but I don't think that is an issue here.
acodeisacodeisacode
|
|
|
|
|
Hi Dear,
How to connect MS Access database using ASP.net
regards
adil
|
|
|
|