|
Hi
I am having a query
When we do any authentication in asp.net then we specify <identity impersonate="true">
then my question is
what will happen when impersonate="true" what if impersonate="False"
Thanks
Karan
|
|
|
|
|
Hello everybody please help me if you can I just need to know how to set some text between ? dinamicly.It is comming from some db!
Best Regards
N.Nikolov
when i want to read something good just seat and type it
|
|
|
|
|
you can use the div tag!! lets say the div tag's id is div1 then div1.innerhtml += "whatever you want to do" + your databse values retrieval like ds.tables.rows[][" ddds"].......
Gautham
|
|
|
|
|
You can give any element an id and set it to runat the server:
<meta id="meta" runat="server" />
Then you can access it in your code behind:
meta.Attributes("NAME") = "description"
meta.Attributes("CONTENT") = "this is my description"
|
|
|
|
|
hi friends i am using asp.net 2.0 with ajax toolkit.
my ajax is working fine but wile working with ajax i don't get alert box .
I get confirmation box but alert box is not working properly so what should i do to give alert messages pls help me
it is urgent
thanks in advance
|
|
|
|
|
Hi
How can i create a multilingual site???
Regards
sAqIb
"Our scientific power has outrun our spiritual power. We have guided missiles and misguided men."
Dr. Martin Luther King Jr.
|
|
|
|
|
It's a bit of work but you need to look at using resource files. In ASP.Net you can add a global resource file or each page can have it's own.
|
|
|
|
|
you have to create shared assembly files and create culture information in that file so that multilingual site can gather the information if the user clicks the specified language like en-US ,en-UK etc....
Sathesh Pandian
|
|
|
|
|
Hi,
We are facing one issue in our web application.
Architecture is we have one end user site which fetches data from database and fetches images from share point site.
In end user site in one of our page we show grid which contain information along with the images related to that row. To show images we use one function
which request to share point site for images with Id/pwd for authentication.
This function is working properly.
There are at least 50,000 rows in database and which we are showing in grid. But not all them having images.
In grid we are able to show all images properly. Currently we are showing 10 records per page means grid page size is 10.
Now the issue is :
On the same page there is a link which opens a popup, this popup shows all records in one grid without paging means all records on one page.
In this case we use same function to fetch images from share point and but this we are not able show all images properly some of the image are Red Cross
so we confirmed that whether images are present in share point site but the images are there in share point site.
above case we tested for 350 records also ... still only 190 to 180 images get download and rest of the images are red cross but when we right click on them and select Show Image option then they get appear.
Explanation about function which fetches images from share point site
is as follows
Request to share point site will returns byte array in response for one image at a time means if there are 300 images will call this function 300 times.
When we get this byte array will use Response.WriteBinary to show this image.
I am not able to understand why images are not appearing and why they are appearing after right click and show image option.
Is there any issue related to memory ??
Is there any limit to show no. of images on one aspx page ??
Can any one help me in this issue …
Thanks in advance
|
|
|
|
|
How do you submit to another form using the submit button??
Ty
|
|
|
|
|
Add a PostBackUrl property to your button:
PostBackUrl="~/Page2.aspx"
Then to get the value on your second page:
Dim t As TextBox = CType(PreviousPage.FindControl("Textbox1"), TextBox)
Label1.Text = t.Text
The above only works in .NET 2.0
|
|
|
|
|
But please keep in mind postbackurl post back main page again. So if you need to transfer values use Server.transfer and get the values thru properties.
In general, if it is straight forwrd transfer tehn user PostBackUrl or response.redirect.
Amit
|
|
|
|
|
hi all,
i need to access session objects created in asp page on aspx page
can any one help ....plz urgent
|
|
|
|
|
hi there:
Look at this article SessionTransfer and also visitors's comments...
<< >>
|
|
|
|
|
|
suppose we have a folder having different files in it.say word,access etc.now i have to read the file names .
|
|
|
|
|
On the server, or on the client ? On the server, it's trivial. On the client, it's not really possible.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
on the server side , actually i want to read files from ftp server.
|
|
|
|
|
Hi,
I have two buttons btn a and b. Now, when i click btn b the logic written in btn a should be executed first and then btn b logic should be executed.
Could anyone kindly help!
Gautham
|
|
|
|
|
protected void btnB_Click(object sender, EventArgs e)<br />
{<br />
btnA_Click(this,e);<br />
}
I Love SQL
|
|
|
|
|
Thanks!!
What if my button a is in page1.aspx and button b is in page2.aspx?
Gautham
|
|
|
|
|
Create an instance of the page2.aspx and make the event of button b public and call the event from page1.aspx. I think this should work
|
|
|
|
|
I don't this that should works, if can you do it plz let us know how come.
I Love SQL
|
|
|
|
|
Why not extract the logic from the button b click event and stick it in method in a class and then call the same method from both buttons. Slightly neater solution.
|
|
|
|
|
Tried the same way, its correct however the requirement is that we have a textbox which we would some manipulations, so when we go the other page i need this text box and again send back again to the method for manipulations!!!
sounds really weird!!! What is the best solution?
Gautham
|
|
|
|