|
Hi
I am trying to create a base page that will set the page title for all pages that reference it. I found one way on here, but it involves changing the aspx page itself (removing the sections), which I dont want to do. Also, is there a way in .net 1.1 to ensure all pages are rendered as XHTML? I have been looking and can only find it for .net 2.0. If its not possible to do this, one solution is just remove the entire head section from the HTMLWriter using ToString - though I am sure there must be a better way to do this.
Thanks in advance
Wayde
|
|
|
|
|
|
Hello all,
I am geeting the 39 digit SessionId from one of the php site by giving the login & password. like this
http://somesite/login/somepage.php?login=abcd&pass=1234
after giving this page is displaying only
SUCCESS: 50 - Authentication Succeeded, sessionID: ae0ca3ec5ed5a193341e0cd576122ecd3995663,
in viewsource also same as it is displaying.
I need this sessionId to use in my ASP.NET application.
any body tell me How to get that string/id?
awaiting for reply
regards
GV Ramana
|
|
|
|
|
You'll have to get the php pages to pass it to you in querystring, or post to an asp page.
|
|
|
|
|
Hi,
We have developed the site using iframe in asp.net technology. We want to remove the iframe for search engine optimization .
Our current site designed is as follows-
The site contain common navigation menu and iframe to display the content of the pages according to links click in navigation menu.
Some pages which are displayed in iframe resided in same site(developed in asp.net)
But some pages are fetched from other sites located on some other remote servers. These sites are developed using asp.net and php technologies
We want to remove iframe for search engine optimization.
I tried to use server side includes i.e. user control. I created user control which contain common nevigation menu for our site. I added this menu usercontrol on each .aspx page of our site. But the issue is as I mentioned above our site display the some pages from other site using iframe. We dont have modify rights on other site so we can not make changes to add common navigation menu.
Can you suggest the solution to display the content of web pages which are located in same site and other site with the common menu as mentioned above without using iframe?
Thank you in anticipation.
|
|
|
|
|
i need to retreive values from a table based on the value present in a session variable.
<asp:sqldatasource id="SqlDataSource1" runat="server" connectionstring="data source = orcl; user id = nasim; password = nasim" providername="System.Data.OracleClient" selectcommand="select * from book where bookname=:bn">
<selectparameters>
<asp:sessionparameter name="bn" sessionfield="bn" type="string">
am using asp.net 2.0 and oracle 8i
but this doesnt work, shows character set mismatch and few more errors
Any help please..
thanks in advance
where there is a will there is a way
|
|
|
|
|
HI
I want to create a custom control in ASP.NET? How can i do that. Can someone suggest me a nice referrence for this topic that contains good examples.
Regards,
Uma
|
|
|
|
|
|
Hi , please i want to know the code to say if the checkbox in the fisrt or the second or in one of the rows in my grid view is checked then select the row which this checkbox belong to
can you help me to do that please ?
i added the textbox as a templatefield not as a checkbox one
try to be good if you can't be the best
|
|
|
|
|
For intIndex = 0 To dg.Items.Count - 1
Dim chk As CheckBox = dg.Items(intIndex).Cells(0).Controls(1)
If chk.Checked Then
' Your code
End If
Next
1. dg is the datagrid
2. Assuming that the check box is in first column (cells (0))
Thomas
|
|
|
|
|
thank you evry much but i'm using a gridview , can the same code work ?
also i want to ask you abt that .controls(1) what that mean ?
try to be good if you can't be the best
|
|
|
|
|
hi mohammed,
i don't check it with gridview. but i think it will work.
Controls(1) means first control in the cell 0
Thomas
|
|
|
|
|
You can do same same with the Rows[^] property of the gridView control.
|
|
|
|
|
hey man i tried with .controls(0) & it doesn't work
but with .controls(1) it worked what mean that (1) ? & what is a literalcontrol ?
an other thing !! in the 'your code part i want to write something to select that row but i didn't find a select methode or somthing , when i did row.selectedindex = intindex it doesn't work !!
any idea ?
-- modified at 6:11 Thursday 27th July, 2006
|
|
|
|
|
Hi ,
I have created a page which basically parses a xml file and populates the page accordingly .Now
the problem is inorder to provide more flexibiliy i need to allow any page to inherit this base page,but on inheriting the class and executing it the base page controls are not visible.I undestand it cant be done by that way.Then pls suggest a solution.I doubt the same can be done with master page.
Thanks in advance,
|
|
|
|
|
Master Page would be your choice.
|
|
|
|
|
hi
how to create a cs Class for XSD.
kamalnath
|
|
|
|
|
|
I have two drop down in a datagrid.What i want when i select an item from the first the second one should be populated accordingly.My problem is i have created an event handler for the first drop down but how do i call the second drop down to populate
|
|
|
|
|
You can call a function on OnSelectedIndexChanged event of the dropdownlist and in that event you can populate another dropdownlist. Are you getting any problem in this?
Best Regards,
Apurva Kaushal
|
|
|
|
|
how do i cal the second drop down that is the problem .How do i identify the control which is inside a datagrid
|
|
|
|
|
You have to iterate through all the items of the datagrid and then you can find the other dropdown list(findcontrol method) and populate that.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi friends,
How to pass the space (" ") in Request.QueryString in ASP.NET.
In my Application i am passing the path of the folder through Querystring. But if the name of the folder consists two words inbetween space it gets only the first word and check for that folder and says Directory Not Found Exception.
Please Help.
Thanks & Regards
Prya
|
|
|
|
|
|
the other issue you might run across is illigal characters in that file.
Since its a small item you'd be better off store that is a session or cache
--------------------------------------------------------
1 line of code equals many bugs. So don't write any!!
My mad coder blog
|
|
|
|