User Profile & Activity

Niven Prasetya Member
Page
of 25

Hi,

There was an issue on MVC page, It's been investigated much further. Will give you any news soon regarding the issue.

Thank you and have nice day.

Best regards,

Niven Prasetya

Posted: October 5, 2010 11:38 PM

Hi Johny,

When you press the tab button, it will invoke WebInput default behaviour first handed than the OnKeyDown function.

But you can use the same WebCombo workaround as I gave you yesterday. I attach a sample using a WebInput based on WebCombo workaround.

Hope this can helps

Thank you and have a nice day.

 

Best regards,

Niven Prasetya

Posted: October 5, 2010 10:52 PM

Hi,

As a fellow member, Yudi has said.

When there are some changes happen on WebGrid. The BatchUpdate will access the status bar which is contains of all information such as Yudi has mentioned above.

Since you hide the status bar, the BatchUpdate couldn't find all of those buttons and text, that is why it throws an error.

Hope you understand my explanation.

Thank you and have a nice day.

 

Best regards,

Niven Prasetya

Posted: October 5, 2010 10:10 PM

Hello Kenny,

The support site is scheduled to be launched on early October along with the documentations.

Sorry for the inconvenience.

Thank you for your concern and patiance.

 

Best regards,

Niven Prasetya

Hi,

Here I attached sample about how to retrieve data manually using WebCombo.

You also need to set the AllowAutoQueryHandler=”False” since you want to prepare the data manually.

Best regards,

Niven Prasetya

Posted: October 5, 2010 4:26 AM

Hi,

Glad to hear that the issue has solved. Please let us know if you have another questions regarding our controls.

Best regards,

Niven Prasetya

Posted: October 5, 2010 4:25 AM

Hi Johnny,

The WebCombo’s OnKeyDown will be triggered only when you press any key in keyboard after the dropdown is shown.  Here I attached my simple sample that shows you how to attach the HTML event to WebCombo’s textbox. Please let me know if you have different scenario.

Hope this helps and have a nice day.

Best regards,

Niven Prasetya

Hi Richard,

Please look at the given code below:

  <connectionStrings>
    <remove name="LocalSqlServer" />
    <add name="LocalSqlServer" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|YourDataBase.mdf;User Instance=true" providerName="System.Data.SqlClient"/>    
  </connectionStrings>

By implementing the code above, you have to use the same structures as the same as AspNetDB.MDF. If you are using a different structures then you need to make your own services to connect to your MDF.

Thank you and have a nice day.

Best regards,

Niven Prasetya

Hi,

Yes, it is possible to do an SQL query for example like below.

"SELECT * FROM Categories WHERE CategoryName LIKE 'Beve%')"

Best regards,

Niven Prasetya

Posted: October 3, 2010 11:49 PM

Hello Pro,

I assume you are using a BatchUpdate when the issue occured. This will happen because it will trigger the functions inside the status bar such as Apply All Changes and Undo All Changes. When you hide the status bar, there will be nothing to trigger and will give an exception.

Use the following workaround to prevent the error.

function WebGrid1_OnInitialize(controlId) {
	var WebGrid1 = ISGetObject(controlId);
	document.getElementById("dvStatus_WebGrid1").style.display = "none";
	return true;
}

Best regards,

Niven Prasetya

All times are GMT -5. The time now is 5:47 PM.
Previous Next