hello amigos. I have a Gridview and i want to connect to the my database (by wizard)and i want to enable Delete but GenerateInsertUpdateDelete option in the AdvancedSqlGenerationOption window is disabled. who know why?
Ya Rasoolallah
Posts
-
GenerateInsertUpdateDelete option is disabled -
a problem with ScriptManagerProxyhello again see,my problem exactly is that my program without putting the ScriptManagerProxy hasn't any problem and works properly.but with it doesn't work. "doesn't work" is in other word,not that my program has an error,no,only works bad.(i haven't a syntax error while have a runtime error only and only for the ScriptManagerProxy tag ) for more explanations: in the code below,if we haven't ScriptManagerProxy tag in the page,we can to enter the values in the fiels and press the button to sends the values.but if we put ScriptManagerProxy tag in the page,the program isn't able to send the values because says FileUpload1.HasFile is false (fileupload1 is empty)then the if condition isn't true therefore my Query doesn't run.i hope to explain properly.
\* \*
-
a problem with ScriptManagerProxyOK but i said that what problem is. I have three page. The default page and one user control and third ,code behind of the user control that i have put it in previous post. My program work correctly without the ScriptManagerProxy (without Ajax) but with it doesn't work.(in the .ascx page).
<%--------my code--------%>
If i remove the Ajax tag that have put above,my program hasn't any problem BUT if put it ,doesn't work properly. now do you help me?:rose:
-
a problem with ScriptManagerProxyOK! the .aspx page
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register src="admin/productions.ascx" tagname="Product" tagprefix="uc1" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title></head>
<body>
<form id="form1" runat="server"></form>
</body>
</html>the .ascx page
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Productions.ascx.cs" Inherits="Admin_Productions" %>
<%@ Import Namespace="System.Data.SqlClient"%>
<%@ Import Namespace="System.Configuration"%>در این دسته بندی داده ای نیست
-
a problem with ScriptManagerProxyhello I have a problem.please help me. my program works without ScriptManagerProxy correctly in the page of product.ascx but with it doesn't work! why? the source of program is available in below: example
-
i want to get LatLng based on textbox value.thank you very much
I say condolence for the suffering of martyrdom the prophet Mohammad and the Imam Hasan and the Imam Reza to all of the Muslims.:rose::rose:
-
i want to get LatLng based on textbox value.hello i want to get LatLng (in google map) based on the textbox value. what do i do? i have an error when run this cod: the error is:
Microsoft JScript runtime error: Object required
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?key=AIzaSyDY0kkJiTPVd2U7aTOAwhc9ySH6oHxOIYM&sensor=false">
</script><script type="text/javascript">
var a=parseInt(document.getElementById("Text1").value);
var b=parseInt(document.getElementById("Text2").value);var myCenter=new google.maps.LatLng(a,b);
function initialize()
{
var mapProp = {
center:myCenter,
zoom:15,
mapTypeId:google.maps.MapTypeId.ROADMAP
};
var map=new google.maps.Map(document.getElementById("googleMap")
,mapProp);
var marker=new google.maps.Marker({
position:myCenter,
animation:google.maps.Animation.BOUNCE
});marker.setMap(map);
}
google.maps.event.addDomListener(window, 'load', initialize);
</script><input id="Text1" type="text" value="36"/>
<input id="Text2" type="text" value="59"/> -
placing a button in the header of a command field tag in grid view controlhello how can i place a button in the header of a command field in Grid view control? we can do it in the template field tag simply by the header template tag but i don't know how can i do it in command field. please help me :rose::rose:
-
auto complete with ajaxcontroltoolkit and ado.nethello the problem is not from @ or N and etc... my program doesn't have any syntax error but doesn't work not at all. please debug my program to see why not to work?thanks.:rose::rose: i worked from that example link that you said step by step exactly.
-
auto complete with ajaxcontroltoolkit and ado.netthanks:rose: my friend , still does not work. why? :(: test it please.
-
tempredpoll hi how can i send an image in the my posts? there aren't any option for this. please help me:rose::rose:
-
auto complete with ajaxcontroltoolkit and ado.nethello to all i have a problem with the program that see in below; this program has not any syntax error but doesn't work; i thank you if help me.:rose: Default.aspx page:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server"></form>
</body>
</html>Default.aspx.cs
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;public partial class Default2 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{}
}
in .asmx file
<%@ WebService Language="C#" CodeBehind="~/App_Code/AutoComplete.cs" Class="AutoComplete" %>
in .asmx code behind file
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Xml.Linq;
using System.Data.SqlClient;
using System.Configuration;/// /// this WebService is designed for autocomplete with ajaxControlToolkit and ADO.Net
///
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
// To allow this Web Service to