|
Mark the prwebsr as application in the IIS
Hope this will solve your Problem
Navi
|
|
|
|
|
How to make Custom Grid.
Can anybody give me solution.
Thanks in advance......
Kartik Rathi
|
|
|
|
|
Check out this link
www.datagridgirl.com
Navi
|
|
|
|
|
i want to use message box on button click event in asp.net,i dont want to use java script..
Is there any solution?
replay soon
|
|
|
|
|
Create a public class
Public Class msg<br />
Public Shared Sub CreateMessageAlert(ByRef aspxPage As System.Web.UI.Page, _<br />
ByVal strMessage As String, ByVal strKey As String)<br />
Dim strScript As String = "<script language=JavaScript>alert('" _<br />
& strMessage & "')</script>"<br />
<br />
If (Not aspxPage.IsStartupScriptRegistered(strKey)) Then<br />
aspxPage.RegisterStartupScript(strKey, strScript)<br />
End If<br />
End Sub<br />
<br />
End Class
create message box by calling that class:<br />
strMessage = "Your request submited"<br />
'Call separate class, passing page reference, to register Client Script:<br />
msg.CreateMessageAlert(Me, strMessage, "strKey1")
==postmaster
http://www.programmingknowledge.com/[^]
|
|
|
|
|
Hi,
I want to print a webpage directly with out Print dialog box.
Is it possible, Pls Help me. Any Javascript function for it other than window.print().
By Binu Varghese
|
|
|
|
|
Check out the following link
http://web6.codeproject.com/printing/printing_wo_docview.asp?df=100&forumid=147&exp=0&select=862397
Navi
|
|
|
|
|
thanks
But I didn't get the solution for my problem. I want to print webpages at clientside with out prompting Print dialogbox. I can print the web form using window.print(). when i using this , it will populate a Print dialogBox. I want to avoid this and print directly.
Pls Help once again
|
|
|
|
|
Hello EveryBody,
I have created a key pair. after that i have signed assembly into shared cache using the keys i have generated. Then i am trying to install the dll into gacutil but i am getting the error Failure adding assembly into the cache: The system can't find the file specified.
Can any one help me to solve this problem.
Thanks & Regards
Mishra
|
|
|
|
|
give the full path for assembly then it would work fine
give the full path for assembly then it would work fine
Mahendra
|
|
|
|
|
Hi,
In my project i wants to put few top news head lines. So i want to use RSS for it can any one help me to solve this point,
how use RSS in asp.net(C#) page.
and how i can get this top 10 news of the day.
(In Short:- I want to include an RSS aggregator in my Website)
Please.......... Help Me
Regard
manoj
|
|
|
|
|
Check out this link
http://aspnet.4guysfromrolla.com/articles/031903-1.aspx
Navi
|
|
|
|
|
|
Here i have 3dropdownlists in which i have to do the taask as,when i select item in dropdnlist1,the values in the dropdnlist2 should change,and when select item in dropdnlist2,the values should change in dropdnlist3.
Like if i select Statelist,it should come DIstricts in that state in the dropdnlist2.
How to do without any buttonclick event.
kissy
|
|
|
|
|
You can do it in the dropdownlist SelectedIndexChanged event i.e bind the second dropdownlist in the SelectedIndexChanged event of the first dropdownlist control.
Best Regards,
Apurva Kaushal
|
|
|
|
|
cmddis = New SqlCommand("select Distname from District", dbConn)
dtrdist = cmddis.ExecuteReader()
While (dtrdist.Read())
DistList.Items.Add(dtrdist("Distname"))
End While
dtrdist.Close()
This code i have given in state_selectedIndexedChanged ,but it is not showing any list in the secondlist.how to do,wat i have to use exactly.help me out
kissy
|
|
|
|
|
set the AutoPostBack property to true for statelistbox
rahul
|
|
|
|
|
I have State,Division,District lists.When I do the modifications as u said ,it is working good for the first two lists,but for the third list newly selected districts are appended to the previous list,
But my requirement is only those belongs to that divison only should shown in the list.It is simple but ,how to do.
Thanks for ur cooperation
kissy
|
|
|
|
|
In that case you need to change the sqlquery. You have to put the where condition in the query.
Something like this:
select Distname from District where division = "selected division".
Best Regards,
Apurva Kaushal
|
|
|
|
|
Yes it is working for the first time if i select DivisionList,But if i select secondtime,the district names belongs to that selected division are appending to the previous one,bcz i think autopostbak=true.
But i need only belongs to that perticular division.
kissy
|
|
|
|
|
No that is happening because you are appending the items in the dropdown list control. First cleat all the items in the datalist and then add the items in the list.
Best Regards,
Apurva Kaushal
|
|
|
|
|
cmddiv = New SqlCommand("Select Divi_id from Division where Divi_Name='" & DivList.SelectedItem.Text & "'", dbConn)
num = cmddiv.ExecuteScalar()
cmddis = New SqlCommand("select Distname from District where Divi_id=" & num & "", dbConn)
dtrdist = cmddis.ExecuteReader()
While (dtrdist.Read())
DistList.Items.Add(dtrdist("Distname"))
End While
dtrdist.Close()
but this is when page is loaded,if we select a divison,it displays districts,again if i selct a division,it appends the new districts to the previous list,how to clear the list in the code.
kissy
|
|
|
|
|
I suppose this is the same code which you put in change event also. Any way before executing this part clear the items like this:
DistList.Items.Clear();
This should be the first statement.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Here for the first time when i select a state that will not display.Same happening in DIvision also.If i select second time all are working properly.so wat to do for this??? a
and i have a code like
Dim cnt As Integer
cmdcnt = New SqlCommand(" Select MAX(Centre_Id) from Division_District where District_Id='" & num & "'", dbConn)
cnt = cmdcnt.ExecuteScalar()
If cnt = 0 Then
cnt = 1
if max is null the nhow to compare that value with ordinary integer.Like Isdbnull() or something.
kissy
|
|
|
|
|
Check the autopost back property as rah_sin has said.
Best Regards,
Apurva Kaushal
|
|
|
|