|
Do you use the same user credential data for the published web site? Or it just uses another database? If you want it to use the same user data, you need to set the applicationName in the membership configuration.
|
|
|
|
|
Hello, I am designing a webapplication that has plan_courses and courses_followed table. It is required that after the planned date, an alert should be seen that will ask the administrator if the student followed the planned course or not and if yes, the record should automatically be inserted into the courses_followed table and delete from the plan_courses and if no, it should be deleted from the plan_courses table.
Does anyone know how I can even start with this puzzle?
Sample codes will be of great help, I am using SQL Server
Thanks a lot
Commickey
|
|
|
|
|
|
Yes... that can be true but how do I go about it?
I need a starting point... that is where I need the help
|
|
|
|
|
Hi,
I am working on ASP.NET 2.0. I have a dropdownlist & i have bound the data from the database. It works fine..
I gets illogical error..which i cant identify...
I have coded on the selected index change on dropdown list..but when i run the application it doesnt fire the event for select index change.
I have applied a breakpoint also but as it doesnt fire the event its not break at the breakpoint....
Any one can help me what problem is this...& how to solve it...
KHATRI
|
|
|
|
|
Hi,
Have you set Autopostback property of dropdown to true.If yes,check
Protected Sub ddl_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ddl.SelectedIndexChanged
End Sub
I mean check procedure handles dropdownlist selectedindexchanged
I hope this will help you.
Let's Teach Life To Laugh.........
|
|
|
|
|
Well it shows the same function declaration but still its not firing the event. to get active on that function...
I have also applied the break point but it do not stop at that breakpoint because its not firing the event to gets active on this function..
Any one can help me
|
|
|
|
|
Hi,
Please double click on dropdownlist and check wheather it goes to same routine if yes and still you facing same problem,then check your page contain single or multiple tag in your code.
Regards,
Nagraj
|
|
|
|
|
Hi.
In the (c#) Web application that i am developing, there is a web form whose target is set as _blank.
now,i'm trying to do validations on the textboxes in the page using the javascript alert window.The alert window is getting displayed .But with the same page reopened.I need the alert window to get opened in the same form without getting reopened.
One another problem is to close the form on a button_click().
There also when i try to close the window using javascript code as
window.close();
its not giving me the result.
I think the problem is caused by the target _blank.
But that is required for my application.
Please provide a solution..
thanks 'n regards,
Me-CrazyCode
Me Crazy Code,
Application Developer
ADCS, U A E
|
|
|
|
|
Hi,
I want to integrate paypal service with my appliction.
How can i do that and get confirmation of payment is done.
|
|
|
|
|
|
i need to navigate from asp to aspx page the data has to shown on aspx page
|
|
|
|
|
|
Hi,
I m a beginner.I want to know that when i click an item in a dropdownlist,how can corresponding value(corresponding to that dropdownlist item in a database ) is displayed in a textbox.
Thanx in advance
|
|
|
|
|
i'm a beginner too , but try a proprety called autoposteback "proprity of dropdownlist" make it true & try the stuff
try to be good if you can't be the best
|
|
|
|
|
textbox1.text=dropdownlist1.selecteditem.text
|
|
|
|
|
I have a fileupload control on my page. I also have dropownlist with selected Index changed event. If the file is uploaded first and the selection in the dropdown list is made next the uploaded file is lost. How to save the upladed file?
Sirisha Pandrangi
|
|
|
|
|
Hi,
I have a menu control in which i use a dropdownlist and i use the control in all the pages .The data is bound dynamically at runtime .But it so happens in some pages the item names in the dropdownlist occupy more space than the width of the ddl hence not visible completely .I cannot increase its size in the menu control.Is there a way to View the complete name on selecting the dropdownlist control .
Pls help me out,
Thanks in advance.
|
|
|
|
|
I am not sure if this is the best solution but just try it.
Use javascript to display the name on mouse over,steps are as follows
1.try to add a div tag in html file:
<div id="tooltip" style="POSITION: absolute;" noWrap></div>
2.add this in code behind - ddl is name of your drop down list
ddl.Attributes.Add("onmouseover", "showTooltip();");
ddl.Attributes.Add("onmouseout", "showTooltip();");
i.e on mouseover you can see the name on mouse out the name disappears
3.Add the following javascript function
showTooltip = function ()
{
var obj = document.getElementById("ddl");
if(event.type == "mouseout")
{
document.getElementById("tooltip").style.display = "none";
}
else
{
document.getElementById("tooltip").innerHTML =obj.options[obj.selectedIndex].text;
document.getElementById("tooltip").style.display = "inline";
document.getElementById("tooltip").style.backgroundColor="#ffffcc";
document.getElementById("tooltip").style.paddingTop="1px";
document.getElementById("tooltip").style.paddingBottom ="1px";
document.getElementById("tooltip").style.paddingLeft ="1px";
document.getElementById("tooltip").style.paddingRight ="1px";
document.getElementById("tooltip").style.borderColor="black";
document.getElementById("tooltip").style.color="black";
document.getElementById("tooltip").style.borderWidth="1px";
document.getElementById("tooltip").style.borderStyle="solid";
document.getElementById("tooltip").style.top = screen.height;
document.getElementById("tooltip").style.left = screen.height ;
}
note: you have to change the top and left values by adding some constant number by trial and error method eg:
document.getElementById("tooltip").style.top = screen.height+500;
document.getElementById("tooltip").style.left = screen.height+20 ;
also check how the page looks at different resolutions.
-- modified at 6:39 Tuesday 20th June, 2006
|
|
|
|
|
SELECT [CustCode], [Name], [Addr], [Area] FROM [Customer] WHERE (([CustCode] = @CustCode) OR ([Area] = @Area))
i'm using the above code in a sqldatasource,which i've connected with a gridview.the above query is executing while testing in the tool(sqldatasource).but at the time of running application it is not working.i've to disply details in the gridview when clicking a button.
can anyone help me to get the solution.
Babu
|
|
|
|
|
You'll need to show more code than that - post the declaration of the SQL DS and of the grid, so we can see if they tie up ok - my bet would be that you've not bound the grid correctly, or AutogenerateColumns=false and no cols specified?
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
FRIENDS,
THERE IS NO TREE CONTROL IN ASP.NET1.1 .CAN SOMEBODY TELL ME ANY ALTERNATIVE FOR DESIGNING THE TREEVIEW IN ASP.NET 1.1 IN VB.NET 1.1
|
|
|
|
|
|
I have created a resource file using resource writer .Now after some time i want to change the value for a key at runtime how do i do it i.e after complilation
|
|
|
|
|
Hi all,
I am tring to print information present on webpage.
I am using Javascript for this purpose.
function CallPrint(strid)
{
var prtContent = document.getElementById(strid);
var WinPrint = window.open('','','letf=0,top=0,width=1,height=1,toolbar=0,scrollbars=0,status=0');
WinPrint.document.write(prtContent.innerHTML);
WinPrint.document.close();
WinPrint.focus();
WinPrint.print();
WinPrint.close();
prtContent.innerHTML=strOldOne;
}
//html Page
<asp:datagrid....>
....
<asp:imagebutton id="imgPrint" runat="server" imageurl="~/App_Themes/Default/Images/ico_16_126.gif">
///on page lod
imgPrint.Attributes.Add("onclick", "CallPrint('innerPage');")
//on image button click
Dim popupScript As String = "CallPrint('innerPage') ;"
Page.RegisterStartupScript("PopupScript", popupScript)
But this gives error
'DialogArguments_IE_PrintType' is Null or not an object.
If Any one knows something...let's share with me.
thanks,
Nagraj
|
|
|
|