|
Hello
I just realize that in the page i didn't use ajax controls i can read and write Arabic very well but in the page where i use the ajax controls the i can't save Arabic
Does any one can help me
Thanks in advance
Assaf
|
|
|
|
|
i have gridview and one of thats column are checkboxes. if i check the top of the check box all of the check boxes checked. but if i paging it and set it that show 5 items in each page just checked 5 checkboxes in first page . but i want all of the checkboxes checked in other pages too.
|
|
|
|
|
You most probably, you should create an event that updates the datasource for the GridView (particularly the field that is updated with the checkmark value) when you check mark your checkbox. Otherwise, it is not like the other pages exist. They are generated as you move from one page to the next - on demand.
|
|
|
|
|
Hi,
You have to maintain the gridview's data in a datatable which itself should be stored in a viewstate. If the requirement permits you then in checkbox's click event just maintain a flag in the datatable. Otherwise, do it in the PageIndexChanged event of the grid. But, you also need to check the actual row index of the datable which will be dependant to the Per Page data count and the row no. in the data page. Just check it.
Either you love IT or leave IT...
|
|
|
|
|
Hi All,
I have a Sharepoint Site which uses Windows Authentication Service. Now, when user logs into the site, I want to retrieve the login details (e.g. login id) of the user. I want to get the value in a ASP.NET Web Part integrated to that Sharepoint site. Please help me.
Either you love IT or leave IT...
|
|
|
|
|
I was wondering how I could draw in a Panel. If I create a Panel like
Panel panel = new Panel();
panel.Width = 1000;
panel.Height = 750;
this.Controls.Add(_panel);
In Windows Forms, I could call the PaintEvent but there is not PaintEvent in asp.net is there? So how do I draw lines and such on a web form? Also the Panel control in the windows forms has a location property but the Panel web control does not? Thanks
|
|
|
|
|
Anyone? I need to paint lines in a panel. Is this possible and how can I do it? For a windows from I would do something like:
Panel panel = new Panel();
panel.Paint += new PaintEventHandler(panel_Paint);
private void panel_Paint(object sender, PaintEventArgs e)
{
Graphics _g = e.Graphics;
Pen pen = new Pen(Color.Black);
_g.DrawLine(pen, 10, 10, 20, 20);
}
How can I draw in a Web Panel like this?
|
|
|
|
|
how to play audio and video files from the server?please help me in c#.
|
|
|
|
|
how to make a button default ie when there are more than one buttons and when we press the enter key the pre-specified button event should be triggered.By default the button event is triggered.
|
|
|
|
|
go to ASPX of the page and put on the container in wich the button include : DefaultButton="btn_Search"
Assaf
|
|
|
|
|
Hi,
Just set the defaultButton property of the form tag in the aspx.
Either you love IT or leave IT...
|
|
|
|
|
In the below code, what do i need to put in "stateConnectionString". What is the meaning of "stateConnectionString"? Can anyone provide solution for this one. Its urgent.
stateconnectionstring="tcpip=127.0.0.1:42424"
What do i need to place instead of "tcpip=127.0.0.1:42424" at stateConnectionString?
|
|
|
|
|
there is no code.
Sathesh.
Blessed is the season which engages the whole world in a conspiracy of love.
|
|
|
|
|
Samiullah wrote: Its urgent
No one cares.
A quick search on Google [^] will answer your questions.
|
|
|
|
|
The thing is, for a typical application, you dont need to bother with this tcpip. Just let it be. Unless you are sure that based on what you are doing, this tcpip value needs to be changed. You could perhaps give some details.
|
|
|
|
|
Example Code: Here is my code. Can any one try this...its urgrnt.
<configuration>
<appsettings>
<add key="ConnectionString" value="server=MYServer;uid=sa;pwd=victory;database=Contacts" />
<add key="FirstDayOfWeek" value="1" />
</appsettings>
<system.web>
<compilation defaultlanguage="c#" debug="true" />
<customerrors mode="Off" />
<authentication mode="Windows" />
<trace enabled="false" requestlimit="10" pageoutput="false" tracemode="SortByTime" localonly="true" />
<sessionstate mode="InProc" stateconnectionstring="tcpip=127.0.0.1:42424" sqlconnectionstring="data source=MYServer;user id=sa;password=victory" cookieless="false" timeout="20" />
<globalization requestencoding="utf-8" responseencoding="utf-8" />
<xhtmlconformance mode="Legacy" /></system.web>
</configuration>
|
|
|
|
|
I see that you are using InProc to store state. The following will suffice in this case:
<sessionState mode="Inproc" cookieless="false" timeout="20"/>
You do not need the tcpip attribute
|
|
|
|
|
Hello
I try to save data to my SQl 2005 database from my ASP.net 2.0 web application
everything go fine unless a problem occurred when i try to save the data written in the Arabic format
i try to put this line in the web.config but nothing has change
"<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>"
Any idea to solve my prob it'll be greatly appreciated
Thanks in advance
Assaf
modified on Monday, November 3, 2008 4:24 AM
|
|
|
|
|
What datatype you used to save the Arabic format text?
It should be nvarchar or ntext.
dennis.josf
|
|
|
|
|
hi...
I want to know how to check the mouse click is single or double click in asp.net for the items like button in the datalist ?????
can any one tell me or give an example for it...
|
|
|
|
|
hi
double click is not common in the web applications.
but i think you can use javascript code.
or you can use third-party controls.
bye.
MK4
|
|
|
|
|
Hi, I have a web page where the user select a Company and with that i keep the Company name in memory though a Session but when i go to the next page the Session only last like 5 minutes?
Any reason why and how i can fix this, i did extend the Session state in the Web.config but that did not work.
Example: Session("CompanyName") = "Bytes Technology"
In my web.config i have: <sessionstate>
timeout="40" />
I move from Default.aspx to CompanyDetail.aspx with my Session("CompanyName")
But if i let the program idle in CompanyDetail.aspx i lose the Session State.
Any ideas?
Regards
Etienne
|
|
|
|
|
Is this on your dev box or on the server..?
|
|
|
|
|
Sitting on a Server.....i am hosting the website through www.webnow.co.za
|
|
|
|
|
My wildest guess would be that their servers are configured to clear sessions after 5 minutes for performance reasons...
|
|
|
|